tabletop-companion/app/views/admin/game_systems/_form.html.erb

9 lines
207 B
Plaintext

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