summaryrefslogtreecommitdiffstats
path: root/app/views/workflows/_form.html.erb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-02-25 02:54:47 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-02-25 02:54:47 +0000
commitb6c794d16b47bf353a1a2dfc00e9cbd078525ee8 (patch)
tree7dec97be4c38b4e3b6321f7c55b81697ca6f5ee2 /app/views/workflows/_form.html.erb
parentc6f71f727bc73188ce7285c6e19bf50553246ec7 (diff)
downloadredmine-b6c794d16b47bf353a1a2dfc00e9cbd078525ee8.tar.gz
redmine-b6c794d16b47bf353a1a2dfc00e9cbd078525ee8.zip
Bulk edit workflows for multiple trackers/roles (#16164).
git-svn-id: http://svn.redmine.org/redmine/trunk@12924 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/workflows/_form.html.erb')
-rw-r--r--app/views/workflows/_form.html.erb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/workflows/_form.html.erb b/app/views/workflows/_form.html.erb
index 19d94d60c..9c5ef62fb 100644
--- a/app/views/workflows/_form.html.erb
+++ b/app/views/workflows/_form.html.erb
@@ -1,4 +1,4 @@
-<table class="list transitions transitions-<%= name %>">
+<table class="list workflows transitions transitions-<%= name %>">
<thead>
<tr>
<th>
@@ -31,8 +31,7 @@
<% for new_status in @statuses -%>
<% checked = workflows.detect {|w| w.old_status_id == old_status.id && w.new_status_id == new_status.id} %>
<td class="<%= checked ? 'enabled' : '' %>">
- <%= check_box_tag "issue_status[#{ old_status.id }][#{new_status.id}][]", name, checked,
- :class => "old-status-#{old_status.id} new-status-#{new_status.id}" %>
+ <%= transition_tag workflows, old_status, new_status, name %>
</td>
<% end -%>
</tr>