app/views/phcpresspro/article/categories/index.html.erb in phcpresspro-82.0.0 vs app/views/phcpresspro/article/categories/index.html.erb in phcpresspro-83.0.0
- old
+ new
@@ -6,43 +6,51 @@
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
<!-- Title System -->
<!-- Page Bradcrumbs -->
<ol class="breadcrumb pull-right">
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
</ol>
<!-- Page Bradcrumbs -->
<!-- Page Header -->
<h1 class="page-header"><%= yield(:phc_title) %></h1>
<!-- Page Header -->
-
-<!-- Page Content -->
+
+<!-- Page & Panel 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">
+ <!-- Panel Heading -->
+ <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>
+ <!-- Panel Heading -->
+ <!-- Panel Body -->
+ <div class="panel-body">
<!-- Table - Category Index -->
<div class="table-responsive">
- <table class="table table-striped table-bordered table-hover dataTables-example">
+ <table class="table table-striped table-bordered">
<thead>
<tr>
<th>Category Name</th>
<th></th>
</tr>
</thead>
<tbody>
<% @article_categories.each do |article_category| %>
<tr>
<td><%= link_to article_category.category_name, phcpresspro.edit_article_category_path(article_category) %></td>
- <td><%= link_to 'Trash', article_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %></td>
+ <td>
+ <div class="btn-group d-flex" role="group">
+ <%= link_to 'Edit Category', edit_article_category_path(article_category), class: "btn btn-primary btn-xs" %>
+ <%= link_to 'Remove Category', article_category, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure?' } %>
+ </div>
+ </td>
</tr>
<% end %>
</tbody>
</table>
<%= link_to phcpresspro.new_article_category_path, class: "btn btn-primary btn-sm" do %>