From dd10e838c5831f442a651469e09249ec85e33486 Mon Sep 17 00:00:00 2001 From: Alexey Verkhovsky Date: Thu, 5 May 2005 06:26:47 +0000 Subject: [PATCH] More hard-coded URI paths in form.action attributes --- app/views/admin/create_system.rhtml | 6 ++++-- app/views/admin/create_web.rhtml | 7 ++++--- app/views/admin/edit_web.rhtml | 8 +++++--- app/views/wiki/edit.rhtml | 2 +- app/views/wiki/search.rhtml | 2 +- 5 files changed, 15 insertions(+), 10 deletions(-) diff --git a/app/views/admin/create_system.rhtml b/app/views/admin/create_system.rhtml index 4d318e63..77f8a316 100644 --- a/app/views/admin/create_system.rhtml +++ b/app/views/admin/create_system.rhtml @@ -6,7 +6,9 @@ you'll need to do a brief one-time setup.

-
+<%= form_tag({ :controller => 'admin', :action => 'create_system'}, + {'id' => 'setup', 'method' => 'post', 'onSubmit' => 'return validateSetup()'}) +%>
  1. @@ -43,7 +45,7 @@

    -
  2. +<%= end_form_tag %>