Sha256: 9ebac5eadde8dd5ef5dd1d61b3fd90f4117381b0e2ef6658dba335a6fa2204fe

Contents?: true

Size: 655 Bytes

Versions: 24

Compression:

Stored size: 655 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="dialog" 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

24 entries across 24 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/cells/decidim/author/flag_user.erb
decidim-core-0.27.8 app/cells/decidim/author/flag_user.erb
decidim-core-0.27.7 app/cells/decidim/author/flag_user.erb
decidim-core-0.27.6 app/cells/decidim/author/flag_user.erb
decidim-core-0.26.10 app/cells/decidim/author/flag_user.erb
decidim-core-0.26.9 app/cells/decidim/author/flag_user.erb
decidim-core-0.27.5 app/cells/decidim/author/flag_user.erb
decidim-core-0.26.8 app/cells/decidim/author/flag_user.erb
decidim-core-0.27.4 app/cells/decidim/author/flag_user.erb
decidim-core-0.27.3 app/cells/decidim/author/flag_user.erb
decidim-core-0.26.7 app/cells/decidim/author/flag_user.erb
decidim-core-0.26.5 app/cells/decidim/author/flag_user.erb
decidim-core-0.27.2 app/cells/decidim/author/flag_user.erb
decidim-core-0.27.1 app/cells/decidim/author/flag_user.erb
decidim-core-0.26.4 app/cells/decidim/author/flag_user.erb
decidim-core-0.27.0 app/cells/decidim/author/flag_user.erb
decidim-core-0.26.3 app/cells/decidim/author/flag_user.erb
decidim-core-0.27.0.rc2 app/cells/decidim/author/flag_user.erb
decidim-core-0.27.0.rc1 app/cells/decidim/author/flag_user.erb
decidim-core-0.26.2 app/cells/decidim/author/flag_user.erb