Moved tag manager instructions to be directly below the field

This commit is contained in:
Steve Roberts
2020-06-10 15:06:53 +10:00
parent 5fcc0dcd14
commit f8673fb575

View File

@@ -17,11 +17,11 @@
.field
= label_tag(:matomo_site_id, t('.matomo_site_id')) + tag(:br)
= preference_field_tag("preferences[#{:matomo_site_id}]", Spree::Config[:matomo_site_id], type: Spree::Config.preference_type(:matomo_site_id))
%legend= t('.config_instructions_tag_manager_html')
.field
= label_tag(:matomo_tag_manager_url, t('.matomo_tag_manager_url')) + tag(:br)
= preference_field_tag("preferences[#{:matomo_tag_manager_url}]", Spree::Config[:matomo_tag_manager_url], type: Spree::Config.preference_type(:matomo_tag_manager_url))
.warning.note= t('.config_instructions_tag_manager_html')
.form-buttons{"data-hook" => "buttons"}
= button t(:update), 'icon-refresh'