Sha256: 7b22a505c6eec557e5e12254f1bd6a3b9de021453fc38e3a1e6b91b95d5958f7

Contents?: true

Size: 579 Bytes

Versions: 21

Compression:

Stored size: 579 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 |message| %>
        <li><%= message %></li>
      <% end %>
      </ul>
    </div>
  <% end %>

  <div class="field">
    <%= f.label :title %>
    <%= f.text_field :title %>
  </div>

  <div class="field">
    <%= f.label :body %>
    <%= f.text_area :body %>
  </div>

  <div class="actions">
    <%= f.submit %>
  </div>
<% end %>

Version data entries

21 entries across 16 versions & 2 rubygems

Version Path
groonga-client-model-1.0.2 test/apps/rails5/app/views/posts/_form.html.erb
groonga-client-model-1.0.1 test/apps/rails5/app/views/posts/_form.html.erb
groonga-client-model-1.0.0 test/apps/rails5/app/views/posts/_form.html.erb
groonga-client-model-0.9.9 test/apps/rails5/app/views/posts/_form.html.erb
groonga-client-model-0.9.9 test/apps/rails4/app/views/posts/_form.html.erb
groonga-client-model-0.9.8 test/apps/rails4/app/views/posts/_form.html.erb
groonga-client-model-0.9.8 test/apps/rails5/app/views/posts/_form.html.erb
groonga-client-model-0.9.7 test/apps/rails5/app/views/posts/_form.html.erb
groonga-client-model-0.9.7 test/apps/rails4/app/views/posts/_form.html.erb
groonga-client-model-0.9.6 test/apps/rails4/app/views/posts/_form.html.erb
groonga-client-model-0.9.6 test/apps/rails5/app/views/posts/_form.html.erb
groonga-client-model-0.9.5 test/apps/rails5/app/views/posts/_form.html.erb
groonga-client-model-0.9.5 test/apps/rails4/app/views/posts/_form.html.erb
groonga-client-rails-0.9.7 test/apps/rails5-activerecord/app/views/posts/_form.html.erb
groonga-client-rails-0.9.6 test/apps/rails5-activerecord/app/views/posts/_form.html.erb
groonga-client-rails-0.9.5 test/apps/rails5-activerecord/app/views/posts/_form.html.erb
groonga-client-model-0.9.4 test/apps/rails5/app/views/posts/_form.html.erb
groonga-client-model-0.9.3 test/apps/rails5/app/views/posts/_form.html.erb
groonga-client-model-0.9.2 test/apps/rails5/app/views/posts/_form.html.erb
groonga-client-model-0.9.1 test/apps/rails5/app/views/posts/_form.html.erb