tabletop-companion/app/views/text_fields/new.turbo_stream.erb

7 lines
218 B
Plaintext

<% target = "#{dom_id(@section)}_add_section" %>
<%= turbo_stream.replace(target) do %>
<div id="<%= target %>">
<%= render partial: "form", locals: { button_text: t(".create_text_field") } %>
</div>
<% end %>