summaryrefslogtreecommitdiffstats
path: root/app/views/roles
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/roles
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/roles')
-rw-r--r--app/views/roles/workflow.rhtml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/roles/workflow.rhtml b/app/views/roles/workflow.rhtml
index b544ab4ce..620b37009 100644
--- a/app/views/roles/workflow.rhtml
+++ b/app/views/roles/workflow.rhtml
@@ -2,7 +2,7 @@
<p><%=l(:text_workflow_edit)%>:</p>
-<%= start_form_tag ({:action => 'workflow'}, :method => 'get') %>
+<% form_tag ({:action => 'workflow'}, :method => 'get') do %>
<div style="float:left;margin-right:10px;">
<p><label for="role_id"><%=l(:label_role)%></label><br/>
<select id="role_id" name="role_id">
@@ -19,13 +19,13 @@
<%= submit_tag l(:button_edit) %>
</p>
</div>
-<%= end_form_tag %>
+<% end %>
<% unless @tracker.nil? or @role.nil? %>
<div class="box">
- <%= form_tag ({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) %>
+ <% form_tag ({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) do %>
<table>
<tr>
<td align="center"><strong><%=l(:label_current_status)%></strong></td>
@@ -63,7 +63,7 @@
</p>
<br />
<%= submit_tag l(:button_save) %>
-<%= end_form_tag %>
+<% end %>
<% end %>
</div> \ No newline at end of file