rework friend

This commit is contained in:
2025-11-22 16:50:59 +01:00
parent 03ee9fefec
commit d6623598a1
2 changed files with 21 additions and 0 deletions

View File

@ -10,6 +10,26 @@
<%= link_to "Neuer Freund", new_friend_path, class: "btn-new" %>
</div>
<table class="w-full">
<thead>
<tr>
<th>Name</th>
<th>E-Mail</th>
<th>Telefon</th>
<th></th>
</thead>
<tbody>
<% @friends.each do | friend | %>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<% end %>
</tbody>
</table>
<div id="friends" class="min-w-full divide-y divide-gray-200 space-y-5">
<% if @friends.any? %>
<% @friends.each do |friend| %>