% if current_user && Decidim::UserGroups::ManageableUserGroups.for(current_user).verified.any? && allowed_to?(:vote, :initiative, initiative: initiative) %>
<% elsif initiative.accepts_online_votes? %>
<%= render partial: "decidim/initiatives/initiatives/vote_button",
locals: {
initiative: initiative,
vote_label: t(".vote"),
unvote_label: t(".already_voted"),
verification_label: t(".verification_required"),
steps: signature_has_steps?
} %>
<% else %>
<% end %>
<%= javascript_include_tag "decidim/initiatives/identity_selector_dialog" %>