To maintain order after editing a group’s name We should probably add timestamps to `groups` and `headings` and order by `created_at` instead
8 lines
177 B
Plaintext
8 lines
177 B
Plaintext
<%= back_link_to admin_budgets_path %>
|
|
|
|
<h2><%= @budget.name %></h2>
|
|
|
|
<div id="<%= dom_id @budget %>_groups">
|
|
<%= render "groups", groups: @budget.groups.order(:id) %>
|
|
</div>
|