From: Go MAEDA
+ + <%= mapping_select_tag @import, 'user_id', :required => true, + :values => @import.allowed_target_users.map {|u| [u.name, u.id]}, :default_value => "value:#{User.current.id}" %> +
+ <% end %>- - <%= mapping_select_tag @import, 'user_id', :required => true, - :values => @import.allowed_target_users.map {|u| [u.name, u.id]}, :default_value => "value:#{User.current.id}" %> + + <%= mapping_select_tag @import, 'issue_id' %> +
++ + <%= mapping_select_tag @import, 'spent_on', :required => true %>
-<% end %> -- - <%= mapping_select_tag @import, 'issue_id' %> -
-- - <%= mapping_select_tag @import, 'spent_on', :required => true %> -
-- - <%= mapping_select_tag @import, 'hours', :required => true %> -
-- - <%= mapping_select_tag @import, 'comments' %> -
-- - <%= mapping_select_tag @import, "cf_#{field.id}", :required => field.is_required? %> + + <%= mapping_select_tag @import, 'hours', :required => true %>
-<% end %> ++ + <%= mapping_select_tag @import, 'comments' %> +
++ + <%= mapping_select_tag @import, "cf_#{field.id}", :required => field.is_required? %> +
+ <% end %> +