rework friend
This commit is contained in:
@ -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| %>
|
||||
|
||||
Reference in New Issue
Block a user