%= form_for bubble, url: bubble.persisted? ? bubble_path(bubble) : bubbles_path do |f| %>
<%= f.label :name, "Nom" %>
<%= f.text_field :name, required: true %>
<%= f.label :description, "Description" %>
<%= f.text_area :description %>
<%= f.label :color, "Couleur" %>
<%= f.color_field :color %>
<%= f.submit "Sauvegarder" %>
<% end %>