<% if voted_for?(@featured_proposals_votes, proposal) %>
<%= t("proposals.proposal.already_supported") %>
<% else %>
<%= link_to vote_featured_proposal_path(proposal, value: "yes"),
class: "button button-support small expanded",
title: t("proposals.proposal.support_title"), method: "post", remote: true do %>
<%= t("proposals.proposal.support") %>
<% end %>
<% end %>
<% if user_signed_in? && current_user.organization? %>
<%= t("votes.organizations") %>
<% elsif user_signed_in? && !proposal.votable_by?(current_user)%>
<%= t("votes.verified_only",
verify_account: link_to(t("votes.verify_account"), verification_path )).html_safe %>
<% elsif !user_signed_in? %>
<%= t("votes.unauthenticated",
signin: link_to(t("votes.signin"), new_user_session_path),
signup: link_to(t("votes.signup"), new_user_registration_path)).html_safe %>
<% end %>
<% if voted_for?(@featured_proposals_votes, proposal) %>
<% if setting["twitter_handle"] %>
<%= render partial: "shared/social_share", locals: {
title: proposal.title,
url: proposal_url(proposal),
description: proposal.summary,
mobile: proposal.title
} %>
<% end %>
<% end %>