From f8673fb57587d35b8d11fec4ef75d0f96042ad3a Mon Sep 17 00:00:00 2001 From: Steve Roberts Date: Wed, 10 Jun 2020 15:06:53 +1000 Subject: [PATCH] Moved tag manager instructions to be directly below the field --- app/views/admin/matomo_settings/edit.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/matomo_settings/edit.html.haml b/app/views/admin/matomo_settings/edit.html.haml index 6a6b447da4..0c553ae002 100644 --- a/app/views/admin/matomo_settings/edit.html.haml +++ b/app/views/admin/matomo_settings/edit.html.haml @@ -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'