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

Version Path
decidim-core-0.25.2 app/cells/decidim/author/flag_user.erb
decidim-core-0.25.1 app/cells/decidim/author/flag_user.erb
decidim-core-0.25.0 app/cells/decidim/author/flag_user.erb
decidim-core-0.25.0.rc4 app/cells/decidim/author/flag_user.erb
decidim-core-0.25.0.rc3 app/cells/decidim/author/flag_user.erb
decidim-core-0.25.0.rc2 app/cells/decidim/author/flag_user.erb
decidim-core-0.25.0.rc1 app/cells/decidim/author/flag_user.erb
decidim-core-0.24.3 app/cells/decidim/author/flag_user.erb
decidim-core-0.24.2 app/cells/decidim/author/flag_user.erb
decidim-core-0.24.1 app/cells/decidim/author/flag_user.erb
decidim-core-0.24.0 app/cells/decidim/author/flag_user.erb
decidim-core-0.24.0.rc2 app/cells/decidim/author/flag_user.erb
decidim-core-0.24.0.rc1 app/cells/decidim/author/flag_user.erb