app/views/phcmembers/directory/categories/edit.html.erb in phcmembers-6.5.1 vs app/views/phcmembers/directory/categories/edit.html.erb in phcmembers-6.7.0

- old
+ new

@@ -1,46 +1,38 @@ -<!-- Title Variables --> +<!-- Title System --> <% phc_title "Directory Category Manager" %> -<% phc_title_tagline "Update Directory Category" %> +<% phc_title_tagline "Edit " + @directory_category.catname + " Category Name" %> +<% 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"> - <div class="col-lg-12"> +<!-- Page Title Bar --> +<section class="content-header"> + <!-- Page Title and BreadCrumb --> + <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1> + <ol class="breadcrumb"> + <li><%= yield(:phc_breadcrumb_one) %></li> + <li class="active"><%= yield(:phc_breadcrumb_two) %></li> + </ol> + <!-- Page Title and BreadCrumb --> +</section> +<!-- Page Title Bar --> - <!-- Bread Crumbs --> - <ol class="breadcrumb"> - <li><%= link_to "Dashboard", directory_root_path %></li> - <li><%= link_to "Directory Category List", directory_categories_path %></li> - <li class="active"><%= yield(:phc_title_tagline) %></li> - </ol> - - <!-- Page Title --> - <h3 class="page-title"> - <%= yield(:phc_title) %> </br> - <small><%= yield(:phc_title_tagline) %></small> - </h3> - - </div> -</div> - <!-- Main Content --> -<div class="row"> - <div class="col-lg-12"> +<section class="content"> + <div class="row"> + <div class="col-lg-12"> + <div class="box"> + <div class="box-header with-border"> + <h3 class="box-title"><%= yield(:phc_title) %></h3> + </div> + <div class="box-body"> - <div class="panel panel-default"> + <%= render 'form', directory_category: @directory_category %> - <div class="panel-heading"> - <div class="caption"> - <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span> </div> - <div class="actions"> - </div> </div> - - <div class="panel-body"> - <%= render 'form', directory_category: @directory_category %> - </div> - </div> - </div> -</div> +</section> +<!-- Main Content --> \ No newline at end of file