Sha256: d044c65e0acdd052fefeed1ed603da6a0da3f8ddd4071ad5fd8ee8cb6cf5ffbf

Contents?: true

Size: 492 Bytes

Versions: 11

Compression:

Stored size: 492 Bytes

Contents

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

      <ul>
      <% @post.errors.full_messages.each do |msg| %>
        <li><%= msg %></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

11 entries across 11 versions & 2 rubygems

Version Path
neutral-0.0.10 spec/dummy/app/views/posts/_form.html.erb
neutral-0.0.9 spec/dummy/app/views/posts/_form.html.erb
neutral-0.0.8 spec/dummy/app/views/posts/_form.html.erb
seems_rateable-2.0.0 spec/dummy/app/views/posts/_form.html.erb
neutral-0.0.7 spec/dummy/app/views/posts/_form.html.erb
neutral-0.0.6 spec/dummy/app/views/posts/_form.html.erb
neutral-0.0.5 spec/dummy/app/views/posts/_form.html.erb
neutral-0.0.4 spec/dummy/app/views/posts/_form.html.erb
neutral-0.0.3 spec/dummy/app/views/posts/_form.html.erb
neutral-0.0.2 spec/dummy/app/views/posts/_form.html.erb
neutral-0.0.1 spec/dummy/app/views/posts/_form.html.erb