deprecated start_form_tag replaced by form_tag

git-svn-id: http://redmine.rubyforge.org/svn/trunk@184 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang committed 2007-01-26 19:56:25 +00:00
1 parent 7c27fb7c1d
commit 845460b165
39 files changed
+97 -97

No files matched your search

+2 -2
View File
@@ -28,7 +28,7 @@
<td align="center"><%= format_time(user.created_on) %></td>
<td align="center"><%= format_time(user.last_login_on) unless user.last_login_on.nil? %></td>
<td align="center">
<%= start_form_tag :action => 'edit', :id => user %>
<% form_tag({:action => 'edit', :id => user}) do %>
<% if user.locked? %>
<%= hidden_field_tag 'user[status]', User::STATUS_ACTIVE %>
<%= submit_tag l(:button_unlock), :class => "button-small" %>
@@ -39,7 +39,7 @@
<%= hidden_field_tag 'user[status]', User::STATUS_LOCKED %>
<%= submit_tag l(:button_lock), :class => "button-small" %>
<% end %>
<%= end_form_tag %>
<% end %>
</td>
</tr>
<% end %>