summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/home/_code_of_honor.html.erb10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/home/_code_of_honor.html.erb b/app/views/home/_code_of_honor.html.erb
index f2a306d..cd1950b 100644
--- a/app/views/home/_code_of_honor.html.erb
+++ b/app/views/home/_code_of_honor.html.erb
@@ -1,5 +1,15 @@
<div id="code-of-honor" class="<%= session[:agreed_to_code_of_honor] ? 'accepted' : 'rejected' %>">
<h2>Code d'Honneur</h2>
+ <% if session[:agreed_to_code_of_honor] %>
+ <%= image_tag("baboon_scoring_sheet.webp",
+ alt: "Baboon reviewing a scoring sheet",
+ id: "baboon-scoring",
+ width: "100%") %>
+ <% else %>
+ <%= image_tag("baboon_reading_code_of_honor.webp",
+ alt: "Baboon reviewing a scoring sheet",
+ id: "baboon-scoring",
+ width: "100%") %> <% end %>
<p>
Tout Tartifleur s'engage à voter dans le respect de la
tradition de la WTT. Il ou elle se doit de voter en toute
Copyright 2019--2025 Marius PETER