Sha256: e0d00e75e0b98f61dfa389108af012d3c98b961e9137af5067588acf3194b67d

Contents?: true

Size: 931 Bytes

Versions: 4

Compression:

Stored size: 931 Bytes

Contents

<%= form_with(model: gamification_inventory, local: true) do |form| %>
  <% if gamification_inventory.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(gamification_inventory.errors.count, "error") %> prohibited this gamification_inventory from being saved:</h2>

      <ul>
      <% gamification_inventory.errors.full_messages.each do |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= form.label :User_id %>
    <%= form.text_field :User_id, id: :gamification_inventory_User_id %>
  </div>

  <div class="field">
    <%= form.label :Item_id %>
    <%= form.text_field :Item_id, id: :gamification_inventory_Item_id %>
  </div>

  <div class="field">
    <%= form.label :equipped %>
    <%= form.check_box :equipped, id: :gamification_inventory_equipped %>
  </div>

  <div class="actions">
    <%= form.submit %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
go_gamification-0.0.20 app/views/gamification/inventories/_form.html.erb
go_gamification-0.0.19 app/views/gamification/inventories/_form.html.erb
go_gamification-0.0.18 app/views/gamification/inventories/_form.html.erb
go_gamification-0.0.17 app/views/gamification/inventories/_form.html.erb