File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 < ul class ="dropdown dropdown__bottom divide-y divide-gray-3 px-4 ">
2727 <% unless reloaded? %>
2828 < li >
29- < button type ="button " class ="dropdown__item " data-dialog-open ="<%= current_user . present? ? "flagModalComment#{ model . id } " : "loginModal" %> " title ="<%= t ( "decidim.components.comment.report.action" ) %> " aria-controls ="<%= current_user . present? ? "flagModalComment#{ model . id } " : "loginModal" %> " aria-haspopup ="dialog " tabindex ="0 ">
30- <%= icon "flag-line" %>
31- < span > <%= t ( "decidim.components.comment.report.action" ) %> </ span >
32- </ button >
29+ <%= cell ( "decidim/report_button" , model , only_button : true , button_classes : "dropdown__item flex-row-reverse" ) %>
3330 </ li >
3431 <% end %>
3532 < li >
8380 </ div >
8481
8582 <% if current_user . present? %>
86- <%= cell ( "decidim/flag_modal" , model , modal_id : "flagModalComment#{ model . id } " ) %>
83+ <%= cell ( "decidim/report_button" , model ) . flag_modal %>
84+ <%# = cell("decidim/flag_modal", model, modal_id: "flagModalComment#{model.id}") %>
8785 <% end %>
8886 <% if model . authored_by? ( current_user ) %>
8987 <%= cell ( "decidim/comments/edit_comment_modal_form" , model ) %>
You can’t perform that action at this time.
0 commit comments