Sha256: eb134b0d35331141aff17f39386bd9d9aa14e36e98f22952516e11cdc92a9dd0

Contents?: true

Size: 422 Bytes

Versions: 3

Compression:

Stored size: 422 Bytes

Contents

<h1>Listing blog posts</h1>

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

  <br />

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
yarn-0.1.0 test_objects/rails_test/app/views/posts/index.html.erb
yarn-0.0.9 test_objects/rails_test/app/views/posts/index.html.erb
yarn-0.0.2 test_objects/rails_test/app/views/posts/index.html.erb