Sha256: 9b316028491c3bb9bc3dbc466cc3f51e5b1ccfabc775c0d9c7e9c99bb5f9c75e
Contents?: true
Size: 653 Bytes
Versions: 13
Compression:
Stored size: 653 Bytes
Contents
<% if user_flaggable? && model.try(:id) != current_user.try(:id) %> <button type="button" class="link-alt" data-open="<%= current_user.present? ? "flagUserModal" : "loginModal" %>" title="<%= t("report", scope: "decidim.proposals.proposals.show") %>" aria-controls="<%= current_user.present? ? "flagUserModal" : "loginModal" %>" aria-haspopup="true" tabindex="0"> <%= icon "flag", aria_hidden: true, class: "icon--small", role: "img", "aria-hidden": true %> <span class="show-for-sr"> <%= t("report", scope: "decidim.proposals.proposals.show") %> </span> </button> <%= cell("decidim/flag_modal", model).flag_user %> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems