Files
openfoodnetwork/app/views/spree/admin/tax_settings/edit.html.haml
David Cook 412c110c65 Associate label with checkbox
Now you can click on the text to tick/untick the box. I've been wanting to do that for ages.
2024-05-16 10:37:22 +10:00

16 lines
494 B
Plaintext

= render :partial => 'spree/admin/shared/configuration_menu'
- content_for :page_title do
= t(:tax_settings)
= form_tag admin_tax_settings_path, :method => :put do
.field.align-center
= hidden_field_tag 'preferences[products_require_tax_category]', '0'
%label
= check_box_tag 'preferences[products_require_tax_category]', '1', Spree::Config[:products_require_tax_category]
= t(:products_require_tax_category)
.form-buttons
= button t(:update), 'icon-refresh'