Sha256: 33142c4cf99aece7ea11f75cb27ff4e2280f6420b50ed2764b0b93629e5d945e
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
<!-- Main Content --> <div class="wrapper wrapper-content"> <div class="panel panel-primary"> <div class="panel-heading"> <i class="fa fa-pencil-square-o"></i> Article List </div> <div class="panel-body"> <table class="table table-bordered table-striped table-hover"> <thead> <tr> <th>Title</th> <th>Text Preview</th> <th>Article Status</th> <th></th> </tr> </thead> <tbody> <% @articles_posts.each do |articles_post| %> <tr> <td><%= articles_post.psttitle %></td> <td><%= truncate(articles_post.psttext, :length => 80) %></td> <td><%= articles_post.pststatus %></td> <td><div class="btn-group" role="group" aria-label="Blog Articles"> <%= link_to 'Edit', edit_articles_post_path(articles_post), class: "btn btn-primary btn-xs" %> <%= link_to 'Trash', articles_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %> </div></td> </tr> <% end %> </tbody> </table> <%= link_to 'New Blog Post', new_articles_post_path, class: "btn btn-primary" %> </div> </div> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
phcpress-5.1.0 | app/views/phcpress/articles/posts/index.html.erb |