Sha256: dcfee745fe028101940ae9a1d36bb8161160a80751ab7a3df89f9c111d91175f
Contents?: true
Size: 1.86 KB
Versions: 9
Compression:
Stored size: 1.86 KB
Contents
<!-- Title System --> <% phc_title "Article Manager" %> <% phc_title_tagline "Article Index" %> <% phc_breadcrumb_one link_to "Article Index", phcpress.article_posts_path %> <% phc_breadcrumb_two yield(:phc_title_tagline) %> <!-- Title System --> <!-- Page Content --> <div class="panel panel-inverse"> <div class="panel-heading"> <div class="panel-heading-btn"> <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a> <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a> <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a> </div> <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4> </div> <div class="panel-body"> <!-- Table - Article Index --> <div class="table-responsive"> <table class="table table-striped table-bordered table-hover dataTables-example"> <thead> <tr> <th>Post Headline</th> <th>Post Preview</th> <th>Post Status</th> <th></th> </tr> </thead> <tbody> <% @article_posts.each do |article_post| %> <tr> <td><%= article_post.psttitle %></td> <td><%= truncate(article_post.psttext, :length => 80, :escape => false) %></td> <td><%= article_post.pststatus.capitalize %></td> <td><div class="btn-group" role="group" aria-label="Blog Articles"> <%= link_to 'Edit Post', edit_article_post_path(article_post), class: "btn btn-primary btn-xs" %> <%= link_to 'Trash Post', article_post, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %> </div></td> </tr> <% end %> </tbody> </table> </div> <!-- Table - Article Index --> </div> </div> <!-- Page Content -->
Version data entries
9 entries across 9 versions & 1 rubygems