Sha256: 857d70871b90b8e8e20f89a3edfc1234655179d0c7b0dbcf0e2ddb90f8e47e09

Contents?: true

Size: 453 Bytes

Versions: 7

Compression:

Stored size: 453 Bytes

Contents

<h1>Listing posts</h1>

<table>
  <tr>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% 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, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
controll-0.3.2 spec/controll_app/app/views/posts/index.html.erb
controll-0.3.1 spec/controll_app/app/views/posts/index.html.erb
focused_controller-1.0.0 test/app/app/views/posts/index.html.erb
controll-0.3.0 spec/controll_app/app/views/posts/index.html.erb
controll-0.2.0 spec/app/app/views/posts/index.html.erb
focused_controller-0.2.0 test/app/app/views/posts/index.html.erb
focused_controller-0.1.0 test/app/app/views/posts/index.html.erb