summaryrefslogtreecommitdiff
path: root/app/views/tartiflettes
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/tartiflettes')
-rw-r--r--app/views/tartiflettes/index.html.erb15
1 files changed, 14 insertions, 1 deletions
diff --git a/app/views/tartiflettes/index.html.erb b/app/views/tartiflettes/index.html.erb
index 09b2748..c38c6a0 100644
--- a/app/views/tartiflettes/index.html.erb
+++ b/app/views/tartiflettes/index.html.erb
@@ -1,3 +1,16 @@
<h1>Tartiflettes</h1>
-<p>Toutes les tartiflettes</p>
+<table>
+ <thead>
+ <tr>
+ <th>Nom</th>
+ </tr>
+ </thead>
+ <tbody>
+ <% @tartiflettes.each do |tartiflette| %>
+ <tr>
+ <td><%= tartiflette.name %></td>
+ </tr>
+ <% end %>
+ </tbody>
+</table>
Copyright 2019--2025 Marius PETER