From be2a93525069de2dfa3c23b0c23e7a9f7ad4c03d Mon Sep 17 00:00:00 2001 From: Marius Peter Date: Sun, 29 Dec 2024 15:14:43 +0100 Subject: First commit. --- app/views/admin/dashboard/tmp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 app/views/admin/dashboard/tmp (limited to 'app/views/admin/dashboard/tmp') diff --git a/app/views/admin/dashboard/tmp b/app/views/admin/dashboard/tmp new file mode 100644 index 0000000..986fc28 --- /dev/null +++ b/app/views/admin/dashboard/tmp @@ -0,0 +1,19 @@ +<% ScoringCriterium.grouped_by_category.each do |category, criteria| %> +

<%= category.capitalize %>

+ + + + + + + + + <% @tartiflettes.each do |tartiflette| %> + + + + + <% end %> + +
NuméroScore
<%= tartiflette.scoring_id %><%= tartiflette.scores.where(&:scoring_criterium.include? criteria) %>
+<% end %> -- cgit v1.2.3