%= error_messages_for 'tracker' %>
<%= 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 %>
<%= f.text_area :description, :rows => 4 %>
<% Tracker::CORE_FIELDS.each do |field| %> <% end %>
<%= hidden_field_tag 'tracker[core_fields][]', '' %> <% @issue_custom_fields = IssueCustomField.sorted %> <% if @issue_custom_fields.present? %><% @issue_custom_fields.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, params[:copy_workflow_from] || @copy_from.try(:id))) %>
<% end %>