summaryrefslogtreecommitdiff
path: root/app/views/admin/dashboard/tmp
blob: 986fc281774cef5822c794b88cc42fae440b9fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<% ScoringCriterium.grouped_by_category.each do |category, criteria| %>
    <h3><%= category.capitalize %></h3>
    <table>
	<thead>
	    <tr>
		<th>Numéro</th>
		<th>Score</th>
	    </tr>
	</thead>
	<tbody>
	    <% @tartiflettes.each do |tartiflette| %>
		<tr>
		    <td><%= tartiflette.scoring_id %></td>
		    <td><%= tartiflette.scores.where(&:scoring_criterium.include? criteria) %></td>
		</tr>
	    <% end %>
	</tbody>
    </table>
<% end %>
Copyright 2019--2025 Marius PETER