diff options
author | Marius Peter <marius.peter@tutanota.com> | 2024-12-31 19:24:40 +0100 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2024-12-31 19:24:40 +0100 |
commit | fe5c5b24c462243fcb7c13b3f380378d8935fba2 (patch) | |
tree | 0305a6deee63ec0dbf6405e7b89fb0329cabf964 /app/views/tartiflettes | |
parent | 5286e295a5ba141a547475e2c555335d4297fdcb (diff) |
Updated views.
Diffstat (limited to 'app/views/tartiflettes')
-rw-r--r-- | app/views/tartiflettes/index.html.erb | 15 |
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> |