Sha256: 5afeadbc11efb6bb26c470d9609c9effd129d2364a967cd7f56ef2a1630048b1
Contents?: true
Size: 1.03 KB
Versions: 5
Compression:
Stored size: 1.03 KB
Contents
<% if current_user && Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.any? %> <button id="select-identity-button" class="card__button button expanded button--sc"> <%= t(".vote") %> </button> <div class="reveal" id="user-identities" data-reveal data-refresh-url="<%= signature_identities_initiative_url(slug: initiative.slug) %>"> </div> <% else %> <%= render partial: "decidim/initiatives/initiatives/vote_button", locals: { initiative: initiative, vote_label: t(".vote"), unvote_label: t(".already_voted") } if Decidim::Initiatives.online_voting_allowed %> <% end %> <% if !allowed_to?(:vote, :initiative, initiative: initiative) && !allowed_to?(:unvote, :initiative, initiative: initiative) %> <button class='card__button button expanded button--sc disabled' disabled> <%= t(".votes_blocked") %> </button> <% end %> <%= javascript_include_tag "decidim/initiatives/identity_selector_dialog" %>
Version data entries
5 entries across 5 versions & 1 rubygems