Sha256: b6426925cac25c1f31763057d066cb1307737afdd21360209c98a354c763b5fe

Contents?: true

Size: 599 Bytes

Versions: 17

Compression:

Stored size: 599 Bytes

Contents

<p id="notice"><%= notice %></p>

<h1>Listing Posts</h1>

<table>
  <thead>
    <tr>
      <th>Title</th>
      <th>Body</th>
      <th colspan="3"></th>
    </tr>
  </thead>

  <tbody>
    <% @posts.each do |post| %>
      <tr>
        <td><%= post.title %></td>
        <td><%= post.body %></td>
        <td><%= link_to 'Show', post %></td>
        <td><%= link_to 'Edit', edit_post_path(post) %></td>
        <td><%= link_to 'Destroy', post, method: :delete, data: { confirm: 'Are you sure?' } %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<br>

<%= link_to 'New Post', new_post_path %>

Version data entries

17 entries across 17 versions & 5 rubygems

Version Path
ecm_tags-2.2.1 spec/dummy/app/views/posts/index.html.erb
ecm_tags-2.2.0 spec/dummy/app/views/posts/index.html.erb
groonga-client-model-1.0.2 test/apps/rails4/app/views/posts/index.html.erb
groonga-client-model-1.0.1 test/apps/rails4/app/views/posts/index.html.erb
groonga-client-model-1.0.0 test/apps/rails4/app/views/posts/index.html.erb
groonga-client-rails-0.9.7 test/apps/rails4-mongoid/app/views/posts/index.html.erb
groonga-client-rails-0.9.6 test/apps/rails4-mongoid/app/views/posts/index.html.erb
groonga-client-rails-0.9.5 test/apps/rails4-mongoid/app/views/posts/index.html.erb
speed_gun-2.0.1 example/rails/app/views/posts/index.html.erb
adminish-0.0.1 test/dummy/app/views/posts/index.html.erb
speed_gun-2.0.0 example/rails/app/views/posts/index.html.erb
speed_gun-2.0.0.pre.alpha.1 example/rails/app/views/posts/index.html.erb
groonga-client-rails-0.9.4 test/apps/rails4-mongoid/app/views/posts/index.html.erb
groonga-client-rails-0.9.3 test/apps/rails4-mongoid/app/views/posts/index.html.erb
groonga-client-rails-0.9.2 test/apps/rails4-mongoid/app/views/posts/index.html.erb
groonga-client-rails-0.9.1 test/apps/rails4-mongoid/app/views/posts/index.html.erb
groonga-client-rails-0.9.0 test/apps/rails4-mongoid/app/views/posts/index.html.erb