app/views/formstrap/media/create.turbo_stream.erb in formstrap-0.1.3 vs app/views/formstrap/media/create.turbo_stream.erb in formstrap-0.2.0
- old
+ new
@@ -1,5 +1,7 @@
<%= turbo_stream.prepend "thumbnails" do %>
<% @blobs.each do |blob| %>
- <%= render "formstrap/media/thumbnail", blob: blob %>
+ <turbo-frame id="blob_<%= blob.id %>">
+ <%= render "formstrap/media/thumbnail", blob: blob %>
+ </turbo-frame>
<% end %>
<% end %>