<%= turbo_frame_tag bubble, :edit do %>
<%= link_to bubble.title, edit_bubble_path(bubble), class: "txt-undecorated" %>
<% end %>
<%= link_to bubble, class: "bubble__link" do %>
<%= bubble.title %>
<% end %>
<%= image_tag bubble.image.attached? ? bubble.image : "", data: { upload_preview_target: "image" } %>
<%= form_with model: bubble, data: { controller: "form" } do | form | %>
<% end %>
<% bubble.tags.each do |tag| %>
<%= link_to "##{tag.title}", bubbles_path(tag_id: tag), class: "bubble__bubble bubble__meta bubble__tag" %>
<% end %>
<% if bubble.tags.size < 3 %>
<%= turbo_frame_tag :new_tag do %>
<%= link_to "#", new_bubble_tag_path(bubble), class: "bubble__tag--new" %>
<% end %>
<% end %>
<%= tag.div class: "bubble__bubble bubble__meta bubble__boosts",
data: {
controller: "animation toggle-class",
animation_play_class: "boosting",
toggle_class_toggle_class: "boosting",
action: "animationend->toggle-class#toggle" } do %>
<%= turbo_frame_tag dom_id(bubble, :boosts), src: bubble_boosts_path(bubble) %>
<% end %>