Sha256: 9abc8114a7f7b850592314d0bcc774ff6202d094d35ba243253ef704d03aba12
Contents?: true
Size: 485 Bytes
Versions: 2
Compression:
Stored size: 485 Bytes
Contents
<h1>Listing posts</h1> <table> <tr> <th>Title</th> <th>Text</th> <th></th> <th></th> <th></th> </tr> <% @posts.each do |post| %> <tr> <td><%= post.title %></td> <td><%= post.text %></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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
media_magick-0.2.0 | spec/dummy/app/views/posts/index.html.erb |
media_magick-0.1.1 | spec/dummy/app/views/posts/index.html.erb |