<%= select_tag 'import_settings[mapping][project_id]', options_for_select(project_tree_options_for_select(@import.allowed_target_projects, :selected => @import.project)), :id => 'import_mapping_project_id' %>
<%= mapping_select_tag @import, 'tracker', :required => true, :values => @import.allowed_target_trackers.sorted.map {|t| [t.name, t.id]} %>
<%= mapping_select_tag @import, 'status' %>
<%= mapping_select_tag @import, 'subject', :required => true %>
<%= mapping_select_tag @import, 'description' %>
<%= mapping_select_tag @import, 'priority' %>
<%= mapping_select_tag @import, 'category' %> <% if User.current.allowed_to?(:manage_categories, @import.project) %> <% end %>
<%= mapping_select_tag @import, 'assigned_to' %>
<%= mapping_select_tag @import, 'fixed_version' %> <% if User.current.allowed_to?(:manage_versions, @import.project) %> <% end %>
<% @custom_fields.each do |field| %><%= mapping_select_tag @import, "cf_#{field.id}" %>
<% end %><%= mapping_select_tag @import, 'is_private' %>
<%= mapping_select_tag @import, 'parent_issue_id' %>
<%= mapping_select_tag @import, 'start_date' %>
<%= mapping_select_tag @import, 'due_date' %>
<%= mapping_select_tag @import, 'estimated_hours' %>
<%= mapping_select_tag @import, 'done_ratio' %>