12 lines
431 B
Plaintext
12 lines
431 B
Plaintext
|
<%= content_target = "#{dom_id(@section)}_stats" %>
|
||
|
<%= turbo_stream.append(content_target) do %>
|
||
|
<%= render @stat %>
|
||
|
<% end %>
|
||
|
|
||
|
<%= form_target = "#{dom_id(@section)}_add_section" %>
|
||
|
<%= turbo_stream.replace(form_target) do %>
|
||
|
<div id="#{dom_id(@section)}_add_section">
|
||
|
<%= render partial: "character_sheet_sections/edit_links", locals: { section: @section, parent: @section.parent_section, id: nil} %>
|
||
|
</div>
|
||
|
<% end %>
|