app/views/phcmemberspro/directory/categories/new.html.erb in phcmemberspro-14.7.3 vs app/views/phcmemberspro/directory/categories/new.html.erb in phcmemberspro-14.7.4
- old
+ new
@@ -1,34 +1,41 @@
<!-- Title System -->
<% phc_title "Directory Category Manager" %>
<% phc_title_tagline "Create a New Directory Category" %>
+<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.modules_dashboards_index_path %>
+<% phc_breadcrumb_two link_to "Directory Category Index", phcmemberspro.directory_categories_path %>
+<% phc_breadcrumb_three yield(:phc_title_tagline) %>
+<!-- Title System -->
<!-- Page Header -->
<div class="row wrapper border-bottom white-bg page-heading">
- <div class="col-sm-4">
+ <div class="col-sm-8">
<h2><%= yield(:phc_title) %></h2>
<!-- Bread Crumb -->
<ol class="breadcrumb">
- <li><%= link_to "Dashboard", phcmemberspro.modules_dashboards_index_path %></li>
- <li class="active"><%= link_to "Directory Category Index", phcmemberspro.directory_categories_path %></li>
- <li class="active"><%= yield(:phc_title_tagline) %></li>
+ <li><%= yield(:phc_breadcrumb_one) %></li>
+ <li><%= yield(:phc_breadcrumb_two) %></li>
+ <li class="active"><%= yield(:phc_breadcrumb_three) %></li>
</ol>
+ <!-- Bread Crumb -->
</div>
- <div class="col-sm-8">
+ <div class="col-sm-4">
<div class="title-action">
+ <%= link_to phcmemberspro.directory_categories_path, class: "btn btn-primary" do %>
+ <i class="fa fa-plus"></i> Back to Category Index
+ <% end %>
</div>
</div>
</div>
+<!-- Page Header -->
+<!-- Page Content -->
<div class="wrapper wrapper-content animated fadeInRight">
-
- <!-- Page Content -->
<div class="row">
<div class="col-lg-12">
<div class="ibox float-e-margins">
-
<div class="ibox-title">
<h5><%= yield(:phc_title_tagline) %></h5>
<div class="ibox-tools">
<a class="collapse-link">
<i class="fa fa-chevron-up"></i>
@@ -36,16 +43,15 @@
<a class="close-link">
<i class="fa fa-times"></i>
</a>
</div>
</div>
-
<div class="ibox-content">
<%= render 'form', directory_category: @directory_category %>
</div>
-
</div>
</div>
</div>
-
</div>
+<!-- Page Content -->
+