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

10 lines
272 B
Plaintext
Raw Permalink Normal View History

2024-05-29 07:24:21 +00:00
<%# locals: (game_system: @game_system, button_text:, url:) %>
2024-05-26 10:42:48 +00:00
<%= form_with model: @game_system, url: do |f| %>
<%= f.label :name %>
2024-05-29 07:24:21 +00:00
<%= f.text_field :name, required: true %>
2024-05-29 07:46:31 +00:00
<%= display_form_errors(@game_system, :name) %>
2024-05-26 10:42:48 +00:00
<%= f.submit button_text %>
<% end %>