More hard-coded URI paths in form.action attributes

This commit is contained in:
Alexey Verkhovsky 2005-05-05 06:26:47 +00:00
parent 9b6c391062
commit dd10e838c5
5 changed files with 15 additions and 10 deletions

View file

@ -5,8 +5,9 @@
so different subjects or projects can write about different <i>MuppetShows</i>.
</p>
<form action="../create_web" id="setup" method="post" onSubmit="cleanAddress();
return validateSetup()">
<%= form_tag({ :controller => 'admin', :action => 'create_web'},
{'id' => 'setup', 'method' => 'post', 'onSubmit' => 'cleanAddress(); return validateSetup()'})
%>
<ol class="setup">
<li>
@ -35,7 +36,7 @@
</small>
</p>
</form>
<%= end_form_tag %>
<script>
function proposeAddress() {