|
<%# locals: (game_system: @game_system, button_text:, url:) %>
|
|
|
|
<%= form_with model: @game_system, url: do |f| %>
|
|
<%= f.label :name %>
|
|
<%= f.text_field :name, required: true %>
|
|
<%= display_form_errors(@game_system, :name) %>
|
|
|
|
<%= f.submit button_text %>
|
|
<% end %>
|