<%=l(:label_workflow)%>

<%=l(:text_workflow_edit)%>:

<%= start_form_tag ({:action => 'workflow'}, :method => 'get') %>



<%= submit_tag l(:button_edit) %>

<%= end_form_tag %> <% unless @tracker.nil? or @role.nil? %>
<%= form_tag ({:action => 'workflow', :role_id => @role, :tracker_id => @tracker }, :id => 'workflow_form' ) %> <% for new_status in @statuses %> <% end %> <% for old_status in @statuses %> <% for new_status in @statuses %> <% end %> <% end %>
<%=l(:label_current_status)%> <%=l(:label_new_statuses_allowed)%>
<%= new_status.name %>
 
<%= old_status.name %> checked="checked"<%end%> <%if old_status==new_status%>disabled<%end%> >

<%=l(:button_check_all)%> | <%=l(:button_uncheck_all)%>


<%= submit_tag l(:button_save) %> <%= end_form_tag %> <% end %>