2024-05-29 07:28:13 +00:00
|
|
|
<%# locals: (button_text:) -%>
|
2024-05-28 19:16:43 +00:00
|
|
|
|
|
|
|
<%= form_with model: @table do |f| %>
|
|
|
|
<%= f.label :name %>
|
2024-05-29 07:24:21 +00:00
|
|
|
<%= f.text_field :name, required: true %>
|
2024-05-28 19:16:43 +00:00
|
|
|
|
|
|
|
<%= f.label :game_system_id %>
|
2024-05-29 07:24:21 +00:00
|
|
|
<%= f.collection_select :game_system_id, GameSystem.all, :id, :name, required: true %>
|
2024-05-28 19:16:43 +00:00
|
|
|
|
|
|
|
<%= f.submit button_text %>
|
|
|
|
<% end %>
|