summaryrefslogtreecommitdiffstats
path: root/app/views/account
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-26 19:56:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-26 19:56:25 +0000
commit845460b16525dc350a12a9f1bde2109caa1a53b6 (patch)
tree746f9b896bc13b3165c4507652adfe8294fa3efc /app/views/account
parent7c27fb7c1d9866f68b9e444cd3af68256cdc637a (diff)
downloadredmine-845460b16525dc350a12a9f1bde2109caa1a53b6.tar.gz
redmine-845460b16525dc350a12a9f1bde2109caa1a53b6.zip
deprecated start_form_tag replaced by form_tag
git-svn-id: http://redmine.rubyforge.org/svn/trunk@184 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/account')
-rw-r--r--app/views/account/login.rhtml4
-rw-r--r--app/views/account/lost_password.rhtml4
-rw-r--r--app/views/account/password_recovery.rhtml4
-rw-r--r--app/views/account/register.rhtml4
4 files changed, 8 insertions, 8 deletions
diff --git a/app/views/account/login.rhtml b/app/views/account/login.rhtml
index 346f7d52b..382afdc17 100644
--- a/app/views/account/login.rhtml
+++ b/app/views/account/login.rhtml
@@ -2,7 +2,7 @@
<div class="box login">
<h2 class="icon22 icon22-authent"><%=l(:label_please_login)%></h2>
-<%= start_form_tag({:action=> "login"}, :class => "tabular") %>
+<% form_tag ({:action=> "login"}, :class => "tabular") do %>
<p><label for="login"><%=l(:field_login)%>:</label>
<%= text_field_tag 'login', nil, :size => 25 %></p>
@@ -10,7 +10,7 @@
<%= password_field_tag 'password', nil, :size => 25 %></p>
<p><center><input type="submit" name="login" value="<%=l(:button_login)%> &#187;" class="primary" /></center>
-<%= end_form_tag %>
+<% end %>
<br><% if Setting.self_registration? %><%= link_to l(:label_register), :action => 'register' %> |<% end %>
<%= link_to l(:label_password_lost), :action => 'lost_password' %></p>
diff --git a/app/views/account/lost_password.rhtml b/app/views/account/lost_password.rhtml
index 3f32e7153..ebc64e326 100644
--- a/app/views/account/lost_password.rhtml
+++ b/app/views/account/lost_password.rhtml
@@ -2,13 +2,13 @@
<div class="box login">
<h2><%=l(:label_password_lost)%></h2>
-<%= start_form_tag({:action=> "lost_password"}, :class => "tabular") %>
+<% form_tag({:action=> "lost_password"}, :class => "tabular") do %>
<p><label for="mail"><%=l(:field_mail)%> <span class="required">*</span></label>
<%= text_field_tag 'mail', nil, :size => 40 %></p>
<p><center><%= submit_tag l(:button_submit) %></center></p>
-<%= end_form_tag %>
+<% end %>
</div>
</center> \ No newline at end of file
diff --git a/app/views/account/password_recovery.rhtml b/app/views/account/password_recovery.rhtml
index 39a8071a9..2aa581042 100644
--- a/app/views/account/password_recovery.rhtml
+++ b/app/views/account/password_recovery.rhtml
@@ -6,7 +6,7 @@
<%= error_messages_for 'user' %>
- <%= start_form_tag({:token => @token.value}, :class => "tabular") %>
+ <% form_tag({:token => @token.value}, :class => "tabular") do %>
<p><label for="new_password"><%=l(:field_new_password)%> <span class="required">*</span></label>
<%= password_field_tag 'new_password', nil, :size => 25 %></p>
@@ -15,7 +15,7 @@
<%= password_field_tag 'new_password_confirmation', nil, :size => 25 %></p>
<p><center><%= submit_tag l(:button_save) %></center></p>
- <%= end_form_tag %>
+ <% end %>
</div>
</center> \ No newline at end of file
diff --git a/app/views/account/register.rhtml b/app/views/account/register.rhtml
index 3101bd5df..ac16c3b49 100644
--- a/app/views/account/register.rhtml
+++ b/app/views/account/register.rhtml
@@ -1,6 +1,6 @@
<h2><%=l(:label_register)%></h2>
-<%= start_form_tag({:action => 'register'}, :class => "tabular") %>
+<% form_tag({:action => 'register'}, :class => "tabular") do %>
<%= error_messages_for 'user' %>
<div class="box">
@@ -36,7 +36,7 @@
</div>
<%= submit_tag l(:button_submit) %>
-<%= end_form_tag %>
+<% end %>
<% content_for :header_tags do %>
<%= javascript_include_tag 'calendar/calendar' %>