Sha256: df223220d6c804c01566b809f4408cebb497a254ee448da1c2da50e48d97faa1
Contents?: true
Size: 608 Bytes
Versions: 3
Compression:
Stored size: 608 Bytes
Contents
<h1>Listing posts: theme_a</h1> <table> <thead> <tr> <th>Title</th> <th>Description</th> <th></th> <th></th> <th></th> </tr> </thead> <tbody> <% @posts.each do |post| %> <tr> <td><%= post.title %></td> <td><%= post.description %></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
3 entries across 3 versions & 1 rubygems