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

7 lines
212 B
Plaintext

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