Adds orange styles for proposals

This commit is contained in:
Alberto Garcia Cabeza
2015-09-14 14:09:38 +02:00
parent a661bdccdb
commit 06d4cebef3
5 changed files with 45 additions and 31 deletions

View File

@@ -13,7 +13,12 @@
<%= link_to vote_proposal_path(proposal, value: 'yes'), class: "button button-support tiny radius expand #{voted_classes[:in_favor]}",
title: t('proposals.proposal.support_title'), method: "post", remote: true do %>
<%= t("proposals.proposal.support") %>
<% end %>
<% end %>
<!-- if user supported dissapear the button and appear this :) -->
<div class="supported">
<%= t("proposals.proposal.already_supported") %>
</div>
<!-- /. if user supported dissapear the button and appear this :) -->
</div>
<% if user_signed_in? && current_user.organization? %>