app/views/spree/admin/taxonomies/_form.html.erb in spree_backend-3.1.0.rc1 vs app/views/spree/admin/taxonomies/_form.html.erb in spree_backend-3.1.0.rc2
- old
+ new
@@ -1,7 +1,7 @@
<div data-hook="admin_inside_taxonomy_form" class="form-group">
<%= f.field_container :name, class: ['form-group'] do %>
<%= f.label :name, Spree.t(:name) %> <span class="required">*</span>
- <%= error_message_on :taxonomy, :name, :class => 'error-message' %>
- <%= text_field :taxonomy, :name, :class => 'form-control' %>
+ <%= f.text_field :name, :class => 'form-control' %>
+ <%= f.error_message_on :name, :class => 'error-message' %>
<% end %>
</div>