From 177e03ae191c5556e5b32b5c14629a14b08f028b Mon Sep 17 00:00:00 2001 From: Alexandru Emil Lupu Date: Tue, 8 Aug 2023 10:04:55 +0300 Subject: [PATCH] Fix label position on report button (#11435) --- .../decidim/report_button/flag_modal.erb | 21 +++++++------------ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/decidim-core/app/cells/decidim/report_button/flag_modal.erb b/decidim-core/app/cells/decidim/report_button/flag_modal.erb index 46dd74e45c10..b6c3a59283c8 100644 --- a/decidim-core/app/cells/decidim/report_button/flag_modal.erb +++ b/decidim-core/app/cells/decidim/report_button/flag_modal.erb @@ -33,19 +33,14 @@ <% end %> <% else %>
- + <%= f.check_box :hide, + label: t("decidim.shared.flag_modal.hide_content"), + include_hidden: false, + data: { + label_action: t("decidim.shared.flag_modal.hide"), + label_report: t("decidim.shared.flag_modal.report"), + hide: "true" + } %>
<% end %> <% end %>