Sha256: 2cf95bdf2366f420f815ba1fa4695612441a2c23c9b684c284eaa4f92f7c663e
Contents?: true
Size: 755 Bytes
Versions: 19
Compression:
Stored size: 755 Bytes
Contents
<%= tag.div(**html_attributes) do %> <label><%= label %></label> <%# # Template is stored inside the new item dom, and copied into drag # events when the user initiates drag so that it can be copied into the # editor list on drop. # %> <template data-<%= NEW_ITEM_CONTROLLER %>-target="template"> <%= render row_component do %> <%= render item_component %> <% end %> </template> <% end %> <%# # Remove items that are incomplete when rendering new items, this # causes incomplete items to be removed from the list when the user # cancels adding a new item by pressing 'discard' in the new item form. %> <%= turbo_stream.replace dom_id(item) do %> <%= render item_component(data: { delete: "" }) %> <% end %>
Version data entries
19 entries across 19 versions & 1 rubygems