Sha256: f4c7c101eb5b2827c2efb2db09ae6802de6f1068b9615b8bff1530932f639123
Contents?: true
Size: 1.77 KB
Versions: 4
Compression:
Stored size: 1.77 KB
Contents
<div class="card" id="monitoring_committee_polling_station_closures"> <div class="item_show__header"> <h1 class="item_show__header-title"> <%= t(".title", election_title: translated_attribute(election.title)).html_safe %> </h1> </div> <div class="table-scroll"> <table class="table-list"> <thead> <tr> <th><%= t(".election_totals") %></th> <th><%= t(".polling_stations") %></th> <th><%= t(".bulletin_board") %></th> <th><%= t(".totals") %></th> <th></th> </tr> </thead> <% groups.each do |group| %> <tbody class="question_<%= group[:question]&.id %>"> <% if group[:question].present? %> <tr> <th colspan="4" class="text-left"><%= translated_attribute(group[:question].title) %></th> <th></th> </tr> <% end %> <% group[:results].each do |result| %> <tr class="result <%= result[:answer].present? ? "answer answer_#{result[:answer].id}" : "not_answer #{result[:result_type]}" %>"> <td> <% if result[:answer].present? %> <%= translated_attribute(result[:answer].title) %> <% else %> <%= t(".result_types.#{result[:result_type]}") %> <% end %> </td> <td><%= result[:polling_station] %></td> <td><%= result[:bulletin_board] %></td> <td><%= result[:value] %></td> <td> <% if result[:answer]&.selected %> <span class="text-success"><%= t(".selected") %></span> <% end %> </td> </tr> <% end %> </tbody> <% end %> </table> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems