app/views/admin/pages/index.html.erb
<h3>Pages</h3>
<%= table class: "pages", id: :pages, collection: @pages, columns: 4 do %>
<thead>
<tr>
<th class="icon"></th>
<th class="title">Title</th>
<th class="updated">Updated</th>
<th class="actions"> </th>
</tr>
</thead>
<tbody>
<%= render @pages %>
</tbody>
<% end -%>
<div class="row">
<div class="col-sm-12">
<%= link_to new_admin_page_path, class: "btn btn-default", id: "new_page" do %>
<span class="glyphicon glyphicon-file"></span> New Page
<% end %>
</div>
</div>