diff --git a/app/views/users/_budget_investment.html.erb b/app/views/users/_budget_investment.html.erb index 4f29c94c1..240a4e5c1 100644 --- a/app/views/users/_budget_investment.html.erb +++ b/app/views/users/_budget_investment.html.erb @@ -3,14 +3,14 @@ <%= link_to budget_investment.title, budget_investment_path(budget_investment.budget, budget_investment) %> - <% if can? :destroy, budget_investment %> - <%= link_to t("shared.delete"), budget_investment_path(budget_investment.budget, budget_investment), - method: :delete, class: "button hollow alert expanded", - data: { confirm: "#{t("users.show.delete_alert")}" } %> - <% end %> <% if can? :update, budget_investment %> <%= link_to t("shared.edit"), edit_budget_investment_path(budget_investment.budget, budget_investment), - class: "button hollow expanded" %> + class: "button hollow" %> + <% end %> + <% if can? :destroy, budget_investment %> + <%= link_to t("shared.delete"), budget_investment_path(budget_investment.budget, budget_investment), + method: :delete, class: "button hollow alert", + data: { confirm: "#{t("users.show.delete_alert")}" } %> <% end %>