<%= labelled_form_for @project do |f| %> <%= hidden_field_tag 'tab', 'issues' %> <% unless @trackers.empty? %>
<%= toggle_checkboxes_link('#project_trackers input[type=checkbox]') %><%= l(:label_tracker_plural)%> <% @trackers.each do |tracker| %> <% end %> <%= hidden_field_tag 'project[tracker_ids][]', '' %>
<% end %> <% unless @issue_custom_fields.empty? %>
<%= toggle_checkboxes_link('#project_issue_custom_fields input[type=checkbox]:enabled') %><%=l(:label_custom_field_plural)%> <% @issue_custom_fields.each do |custom_field| %> <% end %> <%= hidden_field_tag 'project[issue_custom_field_ids][]', '' %>
<% end %>
<% if @project.safe_attribute?('default_version_id') %>

<%= f.select :default_version_id, project_default_version_options(@project), include_blank: l(:label_none) %>

<% end %> <% if @project.safe_attribute?('default_assigned_to_id') %>

<%= f.select :default_assigned_to_id, project_default_assigned_to_options(@project), include_blank: l(:label_none) %>

<% end %>

<%= submit_tag l(:button_save) %>

<% end %>