debt-manager/app/views/bubbles/index.html.erb
Louis Vallat edf60e9557
feat: added spendings for bubbles
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2023-12-31 19:06:33 +01:00

20 lines
566 B
Plaintext

<%= link_to "Créer une bulle", new_bubble_path %>
<table>
<tr>
<th>Nom</th>
<th>Description</th>
<th>Actions</th>
</tr>
<% @bubbles.each do |bubble| %>
<tr style="color: <%= bubble.color %>">
<td><%= bubble.name %></td>
<td><%= bubble.description %></td>
<td>
<%= link_to "Voir", bubble_path(bubble) %>
<%= link_to "Éditer", edit_bubble_path(bubble) %>
<%= link_to "Supprimer", bubble_confirm_destroy_path(bubble) %>
</td>
</tr>
<% end %>
</table>