app/views/phcmembers/members/contacts/edit.html.erb in phcmembers-2.2.0 vs app/views/phcmembers/members/contacts/edit.html.erb in phcmembers-3.0.0
- old
+ new
@@ -1,27 +1,46 @@
-<!-- Bread Crumbs -->
-<div class="row wrapper border-bottom white-bg page-heading">
+<!-- Title System -->
+<% phc_title "PHCMembers - Members Address Manager" %>
+<% phc_title_tagline "Update Address Information for " + @members_main.mfirstname + " " + @members_main.mlastname %>
+
+<!-- BreadCrumbs -->
+<div class="row">
<div class="col-lg-12">
- <h2>Member's Contact Information</h2>
+
+ <!-- Bread Crumb -->
<ol class="breadcrumb">
- <li><%= link_to "Home", members_root_path %></li>
+ <li><%= link_to "Members Home", members_root_path %></li>
<li><%= link_to "Members List", members_mains_path %></li>
- <li><%= link_to "Members Contact", members_main_contacts_path %></li>
- <li class="active">Edit Member's Private Address</li>
+ <li><%= link_to @members_main.mfirstname + " " + @members_main.mlastname + " Addresses", members_main_contacts_path %></li>
+ <li class="active"><%= yield(:phc_title_tagline) %></li>
</ol>
+
</div>
</div>
+<!-- Page Title -->
+<div class="row">
+ <div class="col-lg-12">
+
+ <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">
- <div class="panel panel-primary">
- <div class="panel-heading">
- Edit Member's Private Address
+
+ <div class="card">
+ <div class="card-header">
+ <%= yield(:phc_title_tagline) %>
</div>
- <div class="panel-body">
- <%= render 'phcnotifi/notifications' %>
+ <div class="card-block">
<%= render 'formpatch' %>
</div>
</div>
+
</div>
</div>