Sha256: e3dae402144f9fa95078e596a036577e788d84ef33656d98ebe67aef5137d5ca

Contents?: true

Size: 497 Bytes

Versions: 5

Compression:

Stored size: 497 Bytes

Contents

<h1>Listing posts</h1>

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

<% @posts.each do |post| %>
  <tr>
    <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

5 entries across 5 versions & 1 rubygems

Version Path
google_authentication-0.3.0 spec/dummy/app/views/posts/index.html.erb
google_authentication-0.2.0 spec/dummy/app/views/posts/index.html.erb
google_authentication-0.1.2 spec/dummy/app/views/posts/index.html.erb
google_authentication-0.1.1 spec/dummy/app/views/posts/index.html.erb
google_authentication-0.1.0 spec/dummy/app/views/posts/index.html.erb