Sha256: 9a9f7082ad351b4f94eb8b72be67340e39bdd311964e7df2e15b6b272f3b0878

Contents?: true

Size: 520 Bytes

Versions: 6

Compression:

Stored size: 520 Bytes

Contents

<%= form_for(@category) do |f| %>
  <% if @category.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@category.errors.count, "error") %> prohibited this category from being saved:</h2>

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

  <div class="field">
    <%= f.label :title %><br>
    <%= f.text_field :title %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
adminish-0.0.1 test/dummy/app/views/categories/_form.html.erb
metaslug-0.3.5 test/dummy/app/views/categories/_form.html.erb
metaslug-0.3.4 test/dummy/app/views/categories/_form.html.erb
metaslug-0.3.3 test/dummy/app/views/categories/_form.html.erb
navinshop-0.0.2 app/views/navinshop/categories/_form.html.erb
navinshop-0.0.1 app/views/navinshop/categories/_form.html.erb