Skip to content

Commit

Permalink
Fix label position on report button (decidim#11435)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecslupu authored Aug 8, 2023
1 parent 6e7111d commit 177e03a
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions decidim-core/app/cells/decidim/report_button/flag_modal.erb
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,14 @@
<% end %>
<% else %>
<fieldset>
<div class="modal__report-container__radio">
<%= f.check_box :hide,
label: false,
include_hidden: false,
data: {
label_action: t("decidim.shared.flag_modal.hide"),
label_report: t("decidim.shared.flag_modal.report"),
hide: "true"
}, id: hide_checkbox_id %>
<label for="<%= hide_checkbox_id %>">
<%= t("decidim.shared.flag_modal.hide_content") %>
</label>
</div>
<%= 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"
} %>
</fieldset>
<% end %>
<% end %>
Expand Down

0 comments on commit 177e03a

Please sign in to comment.