Sha256: 3a0511cf8bb607372585e87830f6d887686474ea2d48b1c1593b533118e54471
Contents?: true
Size: 1.43 KB
Versions: 2
Compression:
Stored size: 1.43 KB
Contents
<div class="card card-default"> <div class="card-body"> <h2><%= fa_icon("file") %> <%= Archangel.t(:index_resource, resource: @pages.model_name.human.titleize) %></h2> </div> </div> <div class="container-fluid"> <div class="row"> <div class="col-lg-12"> <div class="card pages-index"> <div class="card-header"> <%= render "buttons" %> </div> <div class="card-body"> <% if @pages.present? %> <%= paginate @pages %> <div class="table-responsive"> <table class="table table-hover table-bordered table-striped"> <thead> <tr> <th scope="col"><%= Archangel.t(:title) %></th> <th scope="col"><%= Archangel.t(:path) %></th> <th scope="col"><%= Archangel.t(:published) %></th> <th class="actions text-right" scope="col"><%= Archangel.t(:actions) %></th> </tr> </thead> <tbody> <%= render partial: "page", collection: @pages %> </tbody> </table> </div> <%= paginate @pages %> <% else %> <p class="no-resources"> <%= Archangel.t(:no_resources, resources: @pages.model_name.human.pluralize.downcase) %> </p> <% end %> </div> </div> </div> </div> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
archangel-0.3.0 | app/views/archangel/backend/pages/index.html.erb |
archangel-0.0.8 | app/views/archangel/backend/pages/index.html.erb |