improves styles of delete button

This commit is contained in:
Alberto Garcia Cabeza
2017-03-06 19:34:47 +01:00
parent 3dbdc8f455
commit f67b8d8aee

View File

@@ -4,9 +4,10 @@
<td>
<%= link_to budget_investment.title, budget_investment_path(budget_investment.budget, budget_investment) %>
</td>
<td>
<td class="text-right">
<% if can? :destroy, budget_investment %>
<%= link_to t('shared.delete'), budget_investment_path(budget_investment.budget, budget_investment), method: :delete %>
<%= link_to t('shared.delete'), budget_investment_path(budget_investment.budget, budget_investment),
method: :delete, class: "button hollow alert" %>
<% end %>
</td>
</tr>