app/views/spree/admin/taxons/_form.html.erb in spree_backend-3.2.9 vs app/views/spree/admin/taxons/_form.html.erb in spree_backend-3.3.0.rc1

- old
+ new

@@ -1,17 +1,17 @@ <div data-hook="admin_inside_taxon_form"> <div class="row"> - <div class="col-md-5"> + <div class="col-xs-12 col-md-5"> <%= f.field_container :name, class: ['form-group'] do %> <%= f.label :name, Spree.t(:name) %> <span class="required">*</span> <%= text_field :taxon, :name, class: 'form-control' %> <%= f.error_message_on :name, class: 'error-message' %> <% end %> - <%= f.field_container :permalink_part, class: ['form-group'] do %> - <%= f.label :permalink_part, Spree.t(:permalink) %> <span class="required">*</span> - <%= text_field_tag :permalink_part, @permalink_part, class: 'form-control' %> + <%= f.field_container :permalink, class: ['form-group'] do %> + <%= label_tag :permalink_part, Spree.t(:permalink) %> <span class="required">*</span> + <%= text_field_tag :permalink_part, @permalink_part, class: 'form-control', required: true %> <p class="help-block" id="permalink_part_display"> <%= @taxon.permalink.split('/')[0...-1].join('/') + '/' %> </p> <% end %> @@ -19,10 +19,10 @@ <%= f.label :icon, Spree.t(:icon) %> <%= f.file_field :icon %> <% end %> </div> - <div class="col-md-7"> + <div class="col-xs-12 col-md-7"> <%= f.field_container :description, class: ['form-group'] do %> <%= f.label :description, Spree.t(:description) %> <%= f.text_area :description, class: 'form-control', rows: 6 %> <% end %> </div>