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

7 lines
239 B
Plaintext

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