From 845460b16525dc350a12a9f1bde2109caa1a53b6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 26 Jan 2007 19:56:25 +0000 Subject: deprecated start_form_tag replaced by form_tag git-svn-id: http://redmine.rubyforge.org/svn/trunk@184 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/account/login.rhtml | 4 ++-- app/views/account/lost_password.rhtml | 4 ++-- app/views/account/password_recovery.rhtml | 4 ++-- app/views/account/register.rhtml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'app/views/account') 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 @@

<%=l(:label_please_login)%>

-<%= start_form_tag({:action=> "login"}, :class => "tabular") %> +<% form_tag ({:action=> "login"}, :class => "tabular") do %>

<%= text_field_tag 'login', nil, :size => 25 %>

@@ -10,7 +10,7 @@ <%= password_field_tag 'password', nil, :size => 25 %>

-<%= end_form_tag %> +<% end %>
<% if Setting.self_registration? %><%= link_to l(:label_register), :action => 'register' %> |<% end %> <%= link_to l(:label_password_lost), :action => 'lost_password' %>

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 @@ \ 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 %>

<%= password_field_tag 'new_password', nil, :size => 25 %>

@@ -15,7 +15,7 @@ <%= password_field_tag 'new_password_confirmation', nil, :size => 25 %>

<%= submit_tag l(:button_save) %>

- <%= end_form_tag %> + <% end %>
\ 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 @@

<%=l(:label_register)%>

-<%= start_form_tag({:action => 'register'}, :class => "tabular") %> +<% form_tag({:action => 'register'}, :class => "tabular") do %> <%= error_messages_for 'user' %>
@@ -36,7 +36,7 @@
<%= submit_tag l(:button_submit) %> -<%= end_form_tag %> +<% end %> <% content_for :header_tags do %> <%= javascript_include_tag 'calendar/calendar' %> -- cgit v1.2.3