Files
grecia/app/views/budgets/ballots/_add.html.erb
2016-07-27 11:33:18 +02:00

17 lines
566 B
Plaintext

<div class="add in-favor">
<p class="investment-project-amount">
<%= format_price(@budget, investment.price) %>
</p>
<% if @budget.balloting? %>
<%= link_to budget_ballot_lines_url(investment_id: investment.id,
investments_ids: @ballot.investment_ids),
class: "button button-support small expanded",
title: t('budget.investments.investment.support_title'),
method: "post",
remote: true do %>
<%= t("budget.investments.investment.add") %>
<% end %>
<% end %>
</div>