Sha256: 774cbc4b0211a16ae23a76873e0f75c20a7fdf98e2991f2aae053cf5aa159747

Contents?: true

Size: 654 Bytes

Versions: 4

Compression:

Stored size: 654 Bytes

Contents

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

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

  <div class="field">
    <%= form.label :name %>
    <%= form.text_field :name, id: :gamification_item_group_name %>
  </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/item_groups/_form.html.erb
go_gamification-0.0.19 app/views/gamification/item_groups/_form.html.erb
go_gamification-0.0.18 app/views/gamification/item_groups/_form.html.erb
go_gamification-0.0.17 app/views/gamification/item_groups/_form.html.erb