summaryrefslogtreecommitdiff
path: root/app/views/tartiflettes/index.html.erb
diff options
context:
space:
mode:
authorMarius Peter <marius.peter@tutanota.com>2024-12-31 19:24:40 +0100
committerMarius Peter <marius.peter@tutanota.com>2024-12-31 19:24:40 +0100
commitfe5c5b24c462243fcb7c13b3f380378d8935fba2 (patch)
tree0305a6deee63ec0dbf6405e7b89fb0329cabf964 /app/views/tartiflettes/index.html.erb
parent5286e295a5ba141a547475e2c555335d4297fdcb (diff)
Updated views.
Diffstat (limited to 'app/views/tartiflettes/index.html.erb')
-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