displays correct heading name when reviewing ballot

This commit is contained in:
Juanjo Bazán
2017-05-08 13:22:53 +02:00
parent 27ebe738ad
commit 39ed526b89
2 changed files with 4 additions and 2 deletions

View File

@@ -24,7 +24,7 @@
<div id="<%= dom_id(group) %>"
class="small-12 medium-6 column">
<h3 class="subtitle">
<%= group.name %> - <%= group.headings.first.name %>
<%= group.name %> - <%= @ballot.heading_for_group(group).name %>
</h3>
<% if @ballot.has_lines_in_group?(group) %>
<h4 class="amount-spent text-right">