app/views/admin/create_system.rhtml in instiki-0.10.1 vs app/views/admin/create_system.rhtml in instiki-0.10.2

- old
+ new

@@ -4,11 +4,13 @@ Congratulations on succesfully installing and starting Instiki. Since this is the first time Instiki has been run on this port, you'll need to do a brief one-time setup. </p> -<form action="../create_system" id="setup" method="post" onSubmit="return validateSetup()"> +<%= form_tag({ :controller => 'admin', :action => 'create_system'}, + {'id' => 'setup', 'method' => 'post', 'onSubmit' => 'return validateSetup()'}) +%> <ol class="setup"> <li> <h2 style="margin-bottom: 3px">Name and address for your first web</h2> <div class="help"> @@ -41,10 +43,10 @@ </ol> <p align="right"> <input type="submit" value="Setup" style="margin-left: 40px" /> </p> -</form> +<%= end_form_tag %> <script> function proposeAddress() { document.getElementById('web_address').value = document.getElementById('web_name').value.replace(/[^a-zA-Z0-9]/g, "").toLowerCase();