<% if headings.any? %> <% if budget.show_money? %> <% end %> <% if budget.approval_voting? %> <% end %> <% headings.each do |heading| %> <% if budget.show_money? %> <% end %> <% if budget.approval_voting? %> <% end %> <% end %>
<%= t("admin.budgets.show.headings_caption", group: group.name) %>
<%= Budget::Heading.human_attribute_name(:name) %><%= Budget::Heading.human_attribute_name(:price) %><%= Budget::Heading.human_attribute_name(:max_ballot_lines) %><%= Budget::Heading.human_attribute_name(:geozone_id) %> <%= t("admin.actions.actions") %>
<%= heading.name %><%= budget.formatted_heading_price(heading) %><%= heading.max_ballot_lines %> <%= geozone_for(heading) %> <%= render Admin::TableActionsComponent.new(heading) %>
<% else %>
<%= sanitize(t("admin.budget_headings.no_headings", group: group.name)) %>
<% end %>