debt-manager/app/views/bubbles/index.html.erb
Louis Vallat a1d2fb9444
feat: added base bubble CRUD
Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
2023-11-01 20:54:06 +01:00

19 lines
511 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 "Éditer", edit_bubble_path(bubble) %>
<%= link_to "Supprimer", bubble_confirm_destroy_path(bubble) %>
</td>
</tr>
<% end %>
</table>