14 lines
399 B
Plaintext
14 lines
399 B
Plaintext
<%# locals: (button_text:) -%>
|
|
|
|
<%= form_with model: @table do |f| %>
|
|
<%= f.label :name %>
|
|
<%= f.text_field :name%>
|
|
<%= display_form_errors(@table, :name) %>
|
|
|
|
<%= f.label :game_system_id %>
|
|
<%= f.collection_select :game_system_id, GameSystem.all, :id, :name, required: true, include_blank: " " %>
|
|
<%= display_form_errors(@table, :game_system) %>
|
|
|
|
<%= f.submit button_text %>
|
|
<% end %>
|