% 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 cannot?(:vote, initiative) && cannot?(:unvote, initiative) %>
<% end %>
<%= javascript_include_tag "decidim/initiatives/identity_selector_dialog" %>