<%= link_to l(:field_summary), :action => 'index' %>

<%=l(:label_workflow)%>

<%=l(:text_workflow_edit)%>:

<% form_tag({}, :method => 'get') do %>

<%= submit_tag l(:button_edit), :name => nil %>

<% end %> <% unless @tracker.nil? or @role.nil? or @statuses.empty? %> <% form_tag({}, :id => 'workflow_form' ) do %> <%= hidden_field_tag 'tracker_id', @tracker.id %> <%= hidden_field_tag 'role_id', @role.id %> <% for new_status in @statuses %> <% end %> <% for old_status in @statuses %> "> <% new_status_ids_allowed = old_status.find_new_statuses_allowed_to(@role, @tracker).collect(&:id) -%> <% for new_status in @statuses -%> <% end -%> <% end %>
<%=l(:label_current_status)%> <%=l(:label_new_statuses_allowed)%>
<%= new_status.name %>
<%= old_status.name %> />

<%= check_all_links 'workflow_form' %>

<%= submit_tag l(:button_save) %> <% end %> <% end %> <% html_title(l(:label_workflow)) -%>