% if current_user && current_user.user_groups.verified.any? %>
<% 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) %>
<% end %>
<%= javascript_include_tag "decidim/initiatives/identity_selector_dialog" %>