Sha256: ba06efafe567d5f456b5dd1eec395df00c184ff5aa7a67efeb9f83ec2db2c97f

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 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="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datashift-0.40.1 spec/dummy/app/views/categories/_form.html.erb
datashift-0.40.0 spec/dummy/app/views/categories/_form.html.erb