<%= f.field_container :name do %> <%= f.label :name, Spree.t(:name) %> * <%= f.text_field :name, class: 'form-control', required: true %> <%= f.error_message_on :name, class: 'error-message' %> <% end %>