Sha256: e2c6fb186143b7bd81b69f8624e56e58ca34657a9b33cc6ea9cb995cc1b37e2e

Contents?: true

Size: 543 Bytes

Versions: 5

Compression:

Stored size: 543 Bytes

Contents

<h1>Listing posts</h1>

<table>
  <tr>
    <th>Title</th>
    <th>Body</th>
    <th>Published</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @posts.each do |post| %>
  <tr>
    <td><%= post.title %></td>
    <td><%= post.body %></td>
    <td><%= post.published %></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

5 entries across 5 versions & 2 rubygems

Version Path
twitter_bootstrap-helpers-0.0.2 test/dummy/app/views/posts/index.html.erb
twitter_bootstrap-helpers-0.0.1 test/dummy/app/views/posts/index.html.erb
flushing-flash-0.4.2 test-dummies/dummy/app/views/posts/index.html.erb
flushing-flash-0.4.1 test/dummy/app/views/posts/index.html.erb
flushing-flash-0.3.0 test/dummy/app/views/posts/index.html.erb