12 lines
360 B
Plaintext
12 lines
360 B
Plaintext
|
<section class="inset">
|
||
|
<%= form_with model: @text_field, url: character_sheet_section_text_fields_path(@section) do |f| %>
|
||
|
<%= f.hidden_field :character_sheet_section_id, value: @section.id %>
|
||
|
|
||
|
<%= f.label :name %>
|
||
|
<%= f.text_field :name %>
|
||
|
<%= display_form_errors(@section, :name) %>
|
||
|
|
||
|
<%= f.submit button_text %>
|
||
|
<% end %>
|
||
|
</section>
|