app/views/phcmembers/directory/categories/edit.html.erb in phcmembers-3.0.1 vs app/views/phcmembers/directory/categories/edit.html.erb in phcmembers-4.0.0
- old
+ new
@@ -1,27 +1,21 @@
-<!-- Title System -->
-<% phc_title "PHCMembers - Directory Category Manager" %>
-<% phc_title_tagline "Edit " + @directory_category.catname + " Title" %>
+<!-- Title Variables -->
+<% phc_title "PHCMembers - Directory Category Manager" %>
+<% phc_title_tagline "Update Directory Category" %>
-<!-- BreadCrumbs -->
+<!-- Page Header -->
<div class="row">
<div class="col-lg-12">
- <!-- Bread Crumb -->
+ <!-- Bread Crumbs -->
<ol class="breadcrumb">
- <li><%= link_to "Directory Home", directory_root_path %></li>
- <li><%= link_to "Directory Categories", directory_categories_path %></li>
+ <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>
- </div>
-</div>
-
-<!-- Page Title -->
-<div class="row">
- <div class="col-lg-12">
-
+ <!-- Page Title -->
<h3 class="page-title">
<%= yield(:phc_title) %> </br>
<small><%= yield(:phc_title_tagline) %></small>
</h3>
@@ -30,16 +24,23 @@
<!-- Main Content -->
<div class="row">
<div class="col-lg-12">
- <div class="card">
- <div class="card-header">
- <%= yield(:phc_title_tagline) %>
+ <div class="panel panel-default">
+
+ <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="card-block">
- <%= render 'formpatch' %>
+
+ <div class="panel-body">
+ <%= render 'form', directory_category: @directory_category %>
</div>
+
</div>
</div>
</div>