%= form_with(model: gamification_inventory, local: true) do |form| %>
<% if gamification_inventory.errors.any? %>
<%= pluralize(gamification_inventory.errors.count, "error") %> prohibited this gamification_inventory from being saved:
<% gamification_inventory.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= form.label :User_id %>
<%= form.text_field :User_id, id: :gamification_inventory_User_id %>
<%= form.label :Item_id %>
<%= form.text_field :Item_id, id: :gamification_inventory_Item_id %>
<%= form.label :equipped %>
<%= form.check_box :equipped, id: :gamification_inventory_equipped %>
<%= form.submit %>
<% end %>