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

7 lines
212 B
Plaintext
Raw Permalink Normal View History

2024-06-17 13:53:09 +00:00
<% target = "#{dom_id(@section)}_add_section" %>
2024-06-07 15:53:32 +00:00
<%= turbo_stream.replace(target) do %>
<div id="<%= target %>">
<%= render partial: "form", locals: { button_text: t(".create_stat") } %>
</div>
<% end %>