Sha256: 0173222e6c9909741cb05e72e6e6438a2b522f67692233d6cb1b7a389fd6a710

Contents?: true

Size: 677 Bytes

Versions: 22

Compression:

Stored size: 677 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 :name %><br>
    <%= f.text_field :name %>
  </div>
  <div class="field">
    <%= f.label :title %><br>
    <%= f.text_field :title %>
  </div>
  <div class="field">
    <%= f.label :content %><br>
    <%= f.text_area :content %>
  </div>
  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
warbler-1.4.10 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-2.0.2 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-2.0.1 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-2.0.0 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-2.0.0.rc3 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-2.0.0.rc2 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-2.0.0.rc1 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-2.0.0.pre3 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-2.0.0.pre2 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-1.4.9 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-1.4.8 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-2.0.0.pre1 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-1.4.7 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-1.4.6 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-1.4.5 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-1.4.4 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-1.4.3 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-1.4.2 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-1.4.1 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb
warbler-1.4.0 integration/rails4_test/src/main/ruby/app/views/posts/_form.html.erb