<div class="supports text-center">
  <%= render "proposals/supports", proposal: proposal %>

  <div class="in-favor">
    <% if voted? %>
      <div class="supported callout success">
        <%= t("proposals.proposal.already_supported") %>
      </div>
    <% else %>
      <%= button_to t("proposals.proposal.support"),
                    vote_url,
                    class: "button button-support small expanded",
                    title: t("proposals.proposal.support_title"),
                    method: "post",
                    remote: true,
                    "aria-label": support_aria_label %>
    <% end %>
  </div>

  <%= render Shared::ParticipationNotAllowedComponent.new(proposal, cannot_vote_text: cannot_vote_text) %>

  <% if voted? && setting["twitter_handle"] %>
    <div class="share-supported">
      <%= render "proposals/social_share", proposal: proposal, share_title: false %>
    </div>
  <% end %>
</div>
