Sha256: b3486eb691be91b9af71f4e6e1249dc7bbf2cc5cb2eadd0ca635a3e54f2c3c56

Contents?: true

Size: 501 Bytes

Versions: 29

Compression:

Stored size: 501 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, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

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

Version data entries

29 entries across 29 versions & 3 rubygems

Version Path
ab_panel-0.4.4 example/app/views/posts/index.html.erb
ab_panel-0.4.3 example/app/views/posts/index.html.erb
ab_panel-0.4.2 example/app/views/posts/index.html.erb
ouvrages_file_uploader-0.0.3 test/dummy/app/views/posts/index.html.erb
ab_panel-0.4.1 example/app/views/posts/index.html.erb
ab_panel-0.4.0 example/app/views/posts/index.html.erb
ouvrages_file_uploader-0.0.2 test/dummy/app/views/posts/index.html.erb
ouvrages_file_uploader-0.0.1 test/dummy/app/views/posts/index.html.erb
ab_panel-0.3.3 example/app/views/posts/index.html.erb
ab_panel-0.3.2 example/app/views/posts/index.html.erb
ab_panel-0.3.1 example/app/views/posts/index.html.erb
ab_panel-0.3.0 example/app/views/posts/index.html.erb
ab_panel-0.2.0 example/app/views/posts/index.html.erb
ab_panel-0.1.3 example/app/views/posts/index.html.erb
ab_panel-0.1.2 example/app/views/posts/index.html.erb
ab_panel-0.1.1 example/app/views/posts/index.html.erb
ab_panel-0.1.0 example/app/views/posts/index.html.erb
ab_panel-0.0.9 example/app/views/posts/index.html.erb
ab_panel-0.0.8 example/app/views/posts/index.html.erb
ab_panel-0.0.7 example/app/views/posts/index.html.erb