<%=l('backlogs.definition_of_done')%>
<% statuses_done_for_project = @project.done_statuses.select(:id).map(&:id) %>
<%= form_tag(:controller => '/projects', :action => "project_done_statuses", :id => @project) do %>
<%= Status.model_name.human %> |
<%=l('backlogs.work_package_is_closed')%> |
<% for status in @statuses %>
">
<%= status.name %>
|
<%= (check_box_tag 'statuses[][status_id]', status.id.to_s, statuses_done_for_project.include?(status.id), :id => status.name) %>
|
<% end %>
<%= submit_tag l(:button_save) %>
<% end %>
<%=l('backlogs.rebuild_positions')%>
<%= form_tag(:controller => '/projects', :action => "rebuild_positions", :id => @project) do %>
<%= submit_tag l('backlogs.rebuild') %>
<% end %>