Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixes detection of selected value for mapper select tag.

  • Loading branch information...
commit 92492d22def7e5bab690e600fbc9e6a0076f41c4 1 parent b010cc8
@tvdeyen tvdeyen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/csv_magic/mapper.html.erb
View
2  app/views/csv_magic/mapper.html.erb
@@ -13,7 +13,7 @@
<th>
<%= select_tag("fields[#{column_index + 1}]", options_for_select(
@mapper.map_fields,
- @mapper.map_fields[header[column_index]]
+ header[column_index].to_s.to_sym
), :include_blank => true, :class => 'field_options') %>
</th>
<%- end -%>

0 comments on commit 92492d2

Please sign in to comment.
Something went wrong with that request. Please try again.