|
<%# locals: (table:, button_text:) -%>
|
|
|
|
<%= form_with model: @table do |f| %>
|
|
<%= f.label :name %>
|
|
<%= f.text_field :name %>
|
|
|
|
<%= f.label :game_system_id %>
|
|
<%= f.collection_select :game_system_id, GameSystem.all, :id, :name %>
|
|
|
|
<%= f.submit button_text %>
|
|
<% end %>
|