app/views/phcmemberspro/directory/categories/new.html.erb in phcmemberspro-8.6.3 vs app/views/phcmemberspro/directory/categories/new.html.erb in phcmemberspro-9.0.0
- old
+ new
@@ -1,27 +1,26 @@
<!-- Title System -->
<% phc_title "Directory Category Manager" %>
<% phc_title_tagline "Create a New Directory Category" %>
-<!-- Bread Crumb -->
+<!-- Page Header -->
<div class="page-bar">
-
+ <!-- Bread Crumb -->
<ul class="page-breadcrumb">
- <li><%= link_to "Home", directory_root_path %><i class="fa fa-circle"></i></li>
- <li><%= link_to "Directory Categories", directory_categories_path %><i class="fa fa-circle"></i></li>
+ <li><%= link_to "Dashboard", directory_root_path %><i class="fa fa-circle"></i></li>
+ <li class="active"><%= link_to "Directory Category Index", directory_categories_path %><i class="fa fa-circle"></i></li>
<li class="active"><%= yield(:phc_title_tagline) %></li>
</ul>
-
+ <div class="page-toolbar">
+ </div>
</div>
-
-<!-- Page Title -->
-<h3 class="page-title">
- <%= yield(:phc_title) %> </br>
+<h1 class="page-title">
+ <%= yield(:phc_title) %>
<small><%= yield(:phc_title_tagline) %></small>
-</h3>
+</h1>
-<!-- Main Content -->
+<!-- Page Content -->
<div class="row">
<div class="col-lg-12">
<div class="portlet light">
@@ -32,10 +31,10 @@
<div class="actions">
</div>
</div>
<div class="portlet-body">
- <%= render 'form' %>
+ <%= render 'form', directory_category: @directory_category %>
</div>
</div>
</div>
</div>