Add destroy budget button to admin budget edit view
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
<%= back_link_to admin_budgets_path %>
|
<%= back_link_to admin_budgets_path %>
|
||||||
|
|
||||||
|
<%= button_to t("admin.budgets.edit.delete"), admin_budget_path(@budget), method: :delete, class: "button hollow alert float-right small" %>
|
||||||
|
|
||||||
<h2><%= t("admin.budgets.edit.title") %></h2>
|
<h2><%= t("admin.budgets.edit.title") %></h2>
|
||||||
|
|
||||||
<%= render '/admin/budgets/form' %>
|
<%= render '/admin/budgets/form' %>
|
||||||
|
|||||||
Reference in New Issue
Block a user