<%= back_link_to admin_budget_groups_path(@budget), t("admin.budget_headings.index.back") %>

<%= "#{@budget.name} / #{@group.name}" %>

<%= link_to t("admin.budget_headings.form.create"), new_admin_budget_group_heading_path, class: "button float-right" %> <% if @headings.any? %>

<%= t("admin.budget_headings.amount", count: @headings.count) %>

<% @headings.each do |heading| %> <% end %>
<%= t("admin.budget_headings.name") %> <%= t("admin.budget_headings.form.amount") %> <%= t("admin.budget_headings.form.population") %> <%= t("admin.budget_headings.form.allow_content_block") %> <%= t("admin.actions.actions") %>
<%= link_to heading.name, edit_admin_budget_group_heading_path(@budget, @group, heading) %> <%= @budget.formatted_heading_price(heading) %> <%= heading.population %> <%= heading.allow_custom_content ? t("admin.shared.true_value") : t("admin.shared.false_value") %> <%= link_to t("admin.actions.edit"), edit_admin_budget_group_heading_path(@budget, @group, heading), class: "button hollow" %> <%= link_to t("admin.actions.delete"), admin_budget_group_heading_path(@budget, @group, heading), method: :delete, class: "button hollow alert" %>
<% else %>
<%= t("admin.budget_headings.no_headings") %>
<% end %>