Skip to content
Browse files

Fixing the form tag in the default mapping view

  • Loading branch information...
1 parent 5382915 commit 309e3a1b811bad0ae4e27e7ab8000d531ad9d92a @andrewtimberlake andrewtimberlake committed Mar 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 views/map_fields/_mapping.erb
View
4 views/map_fields/_mapping.erb
@@ -1,4 +1,4 @@
-<%= form_tag nil, :id => 'map_fields_form', :method => :post do -%>
+<form method="post" action="" id="map_fields_form">
<% @mapper.params.each do |arr| -%>
<%= hidden_field_tag arr[0], arr[1] %>
<% end -%>
@@ -28,4 +28,4 @@
<div class="action">
<%= submit_tag 'Import' %>
</div>
-<% end -%>
+</form>

0 comments on commit 309e3a1

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