Sha256: 475287be3bd16b8e519b937a8ab6497ea83077081da6bb272dd8de6f45f13563
Contents?: true
Size: 1.18 KB
Versions: 3
Compression:
Stored size: 1.18 KB
Contents
<p id="notice"><%= notice %></p> <!-- Main Content --> <div class="wrapper wrapper-content"> <div class="panel panel-default"> <div class="panel-heading"> <i class="fa fa-newspaper-o"></i> Blog Post List </div> <div class="panel-body"> <table class="table table-bordered table-striped table-hover"> <thead> <tr> <th>Blog Title</th> <th>Blog Text</th> <th>Post Status</th> <th></th> </tr> </thead> <tbody> <% @blog_posts.each do |blog_post| %> <tr> <td><%= blog_post.blogpsttitle %></td> <td><%= blog_post.blogpsttext %></td> <td><%= blog_post.pststatus %></td> <td><div class="btn-group" role="group" aria-label="Blog Articles"> <%= link_to 'Show', blog_post, class: "btn btn-primary btn-xs" %> <%= link_to 'Edit', edit_blog_post_path(blog_post), class: "btn btn-primary btn-xs" %> <%= link_to 'Destroy', blog_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %> </div></td> </tr> <% end %> </tbody> </table> <%= link_to 'New Post', new_blog_post_path, class: "btn btn-primary" %> </div> </div> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
phcpress-0.2.1b | app/views/phcpress/blog/posts/index.html.erb |
phcpress-0.1.9b | app/views/phcpress/blog/posts/index.html.erb |
phcpress-0.1.5b | app/views/phcpress/blog/posts/index.html.erb |