Skip to content

Commit

Permalink
Merge pull request spree-contrib#7 from schustafa/new-taxonomy-form-fix
Browse files Browse the repository at this point in the history
Fix the New Taxonomy form.
  • Loading branch information
radar committed Nov 15, 2011
2 parents f709987 + 0b691f4 commit 06b27b8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions app/views/admin/taxonomies/_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<% f.field_container :name do %>
<%= f.label :name, t("name") %> <span class="required">*</span><br />
<%= error_message_on :taxonomy, :name, :class => 'fullwidth title' %>
<%= text_field :taxonomy, :name %>
<% end %>
<div data-hook="admin_inside_taxonomy_form">
<%= f.field_container :name do %>
<%= f.label :name, t(:name) %> <span class="required">*</span><br />
<%= error_message_on :taxonomy, :name, :class => 'fullwidth title' %>
<%= text_field :taxonomy, :name %>
<% end %>
</div>

<p>
<%= f.label :name, t("store") %> <span class="required">*</span><br />
Expand Down

0 comments on commit 06b27b8

Please sign in to comment.