diff --git a/app/views/bubbles/cards/_preview.html.erb b/app/views/bubbles/cards/_preview.html.erb index 42f881def..0a7276679 100644 --- a/app/views/bubbles/cards/_preview.html.erb +++ b/app/views/bubbles/cards/_preview.html.erb @@ -4,37 +4,15 @@ id="<%= dom_id(bubble, :ticket) %>">
<%= bubble.bucket.name %> - <%= render "bubbles/cards/preview/tags", bubble: bubble %>

- <% if bubble.published? %> - <%= turbo_frame_tag bubble, :edit do %> - <%= link_to bubble_title(bubble), edit_bucket_bubble_path(bubble.bucket, bubble), class: "card__title-link overflow-line-clamp" %> - <% end %> - <% else %> - <%= form_with model: bubble, url: bucket_bubble_path(bubble.bucket, bubble), id: "bubble_form", data: { controller: "auto-save" } do |form| %> - <%= form.text_area :title, placeholder: "Name it…", - class: "input input--textarea full-width borderless txt-align-start #{ "fill-highlight" if bubble.creating? }", - autofocus: bubble.title.blank?, - data: { action: "auto-save#change blur->auto-save#submit keydown.enter->auto-save#submit:prevent keydown.ctrl+enter->auto-save#submit:prevent" } %> - <% end %> - <% end %> + <%= bubble_title(bubble) %>

- <%= link_to bucket_bubble_path(bubble.bucket, bubble), class: "card__link" do %> - <%= bubble_title(bubble) %> - <% end %>
- - <% if bubble.considering? %> - <%= button_to bucket_bubble_engagement_path(bubble.bucket, bubble), method: :post, class: "card__move-button card__hide-on-index btn btn--reversed" do %> - <%= icon_tag "menu" %> - Move to Doing - <% end %> - <% end %>