19 lines
511 B
Plaintext
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> |