<%= f.text_field :name, :required => true %>
<%= f.select :default_status_id,
IssueStatus.sorted.map {|s| [s.name, s.id]},
:include_blank => @tracker.default_status.nil?,
:required => true %>
<%= f.check_box :is_in_roadmap %>
<% Tracker::CORE_FIELDS.each do |field| %>
<% end %>
<%= hidden_field_tag 'tracker[core_fields][]', '' %>
<% if IssueCustomField.all.any? %>
<% IssueCustomField.all.each do |field| %>
<% end %>
<%= hidden_field_tag 'tracker[custom_field_ids][]', '' %>
<% end %>
<% if @tracker.new_record? && @trackers.any? %>
<%= select_tag(:copy_workflow_from, content_tag("option") + options_from_collection_for_select(@trackers, :id, :name)) %>
<% end %>
<%= submit_tag l(@tracker.new_record? ? :button_create : :button_save) %>
<% if @projects.any? %>
<% end %>