summaryrefslogtreecommitdiffstats
path: root/app/views/enumerations/edit.rhtml
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/enumerations/edit.rhtml
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/enumerations/edit.rhtml')
-rw-r--r--app/views/enumerations/edit.rhtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/enumerations/edit.rhtml b/app/views/enumerations/edit.rhtml
index 3002b5936..7baea028a 100644
--- a/app/views/enumerations/edit.rhtml
+++ b/app/views/enumerations/edit.rhtml
@@ -1,10 +1,10 @@
<h2><%=l(:label_enumerations)%></h2>
-<%= start_form_tag({:action => 'update', :id => @enumeration}, :class => "tabular") %>
+<% form_tag({:action => 'update', :id => @enumeration}, :class => "tabular") do %>
<%= render :partial => 'form' %>
<%= submit_tag l(:button_save) %>
-<%= end_form_tag %>
+<% end %>
-<%= start_form_tag :action => 'destroy', :id => @enumeration %>
+<% form_tag({:action => 'destroy', :id => @enumeration}) do %>
<%= submit_tag l(:button_delete) %>
-<%= end_form_tag %> \ No newline at end of file
+<% end %> \ No newline at end of file