diff --git a/app/views/spree/admin/adjustments/_edit_form.html.haml b/app/views/spree/admin/adjustments/_edit_form.html.haml index 27d2669a4f..5ca71ff9f7 100644 --- a/app/views/spree/admin/adjustments/_edit_form.html.haml +++ b/app/views/spree/admin/adjustments/_edit_form.html.haml @@ -1,17 +1,17 @@ .row - .alpha.three.columns + .alpha.four.columns = f.field_container :amount do = f.label :amount, raw(t(:amount) + content_tag(:span, " *", :class => "required")) = text_field :adjustment, :amount, :class => 'fullwidth' = f.error_message_on :amount - .three.columns + .four.columns = f.field_container :included_tax do = f.label :included_tax, t(:included_tax) = text_field :adjustment, :included_tax, disabled: true, class: 'fullwidth' = f.error_message_on :included_tax - .omega.three.columns + .omega.four.columns = f.field_container :tax_rate_id do = f.label :tax_rate_id, t(:tax_rate) = select_tag :tax_rate_id, options_from_collection_for_select(Spree::TaxRate.all, :id, :name, @tax_rate_id), prompt: t(:remove_tax), class: 'select2 fullwidth' diff --git a/app/views/spree/admin/adjustments/_new_form.html.haml b/app/views/spree/admin/adjustments/_new_form.html.haml index cafce77c5f..a3e831aa8d 100644 --- a/app/views/spree/admin/adjustments/_new_form.html.haml +++ b/app/views/spree/admin/adjustments/_new_form.html.haml @@ -4,11 +4,13 @@ = f.label :amount, raw(t(:amount) + content_tag(:span, " *", :class => "required")) = text_field :adjustment, :amount, :class => 'fullwidth' = f.error_message_on :amount + .omega.three.columns = f.field_container :tax_rate_id do = f.label :tax_rate_id, t(:tax_rate) = select_tag :tax_rate_id, options_from_collection_for_select(Spree::TaxRate.all, :id, :name), prompt: t(:none), class: 'select2 fullwidth' = f.error_message_on :tax_rate_id + .row .alpha.omega.twelve.columns = f.field_container :label do