Sha256: 69df2b9401ede4349f0f79c9052fbd44e30ae7031d649ed31a2c61bd9b01ad58

Contents?: true

Size: 539 Bytes

Versions: 160

Compression:

Stored size: 539 Bytes

Contents

<h1>Listing posts</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Title</th>
    <th>Content</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @posts.each do |post| %>
  <tr>
    <td><%= post.name %></td>
    <td><%= post.title %></td>
    <td><%= post.content %></td>
    <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>
<% end %>
</table>

<br />

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

Version data entries

160 entries across 121 versions & 19 rubygems

Version Path
railties-3.2.22.5 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.22.4 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.22.3 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.22.2 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.22.1 guides/code/getting_started/app/views/posts/index.html.erb
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.22 guides/code/getting_started/app/views/posts/index.html.erb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/railties-3.2.12/guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.21 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.20 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.19 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.18 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.17 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.16 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.15 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.15.rc3 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.15.rc2 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.15.rc1 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.14 guides/code/getting_started/app/views/posts/index.html.erb
railties-3.2.14.rc2 guides/code/getting_started/app/views/posts/index.html.erb