Sha256: 1a14dbbd3177581a75cb0bfe78f43b82443fb898f7bb069a0bcfd5fd8ca05a16
Contents?: true
Size: 549 Bytes
Versions: 2
Compression:
Stored size: 549 Bytes
Contents
<p id="notice"><%= notice %></p> <h1>Listing Posts</h1> <table> <thead> <tr> <th>Content</th> <th colspan="3"></th> </tr> </thead> <tbody> <% @posts.each do |post| %> <tr> <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 %> </tbody> </table> <br> <%= link_to 'New Post', new_post_path %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
hashids_rails-0.0.2 | test/dummy/app/views/posts/index.html.erb |
hashids_rails-0.0.1 | test/dummy/app/views/posts/index.html.erb |