app/views/phcmembers/members/contacts/show.html.erb in phcmembers-2.2.0 vs app/views/phcmembers/members/contacts/show.html.erb in phcmembers-3.0.0
- old
+ new
@@ -1,51 +1,35 @@
-<p id="notice"><%= notice %></p>
+<!-- Title System -->
+<% phc_title "PHCMembers - Members Address Manager" %>
+<% phc_title_tagline "Detailed Address Information for " + @members_main.mfirstname + " " + @members_main.mlastname %>
-<p>
- <strong>Mccontactname:</strong>
- <%= @members_contact.mccontactname %>
-</p>
+<!-- BreadCrumbs -->
+<div class="row">
+ <div class="col-lg-12">
-<p>
- <strong>Mccompanyname:</strong>
- <%= @members_contact.mccompanyname %>
-</p>
+ <!-- Bread Crumb -->
+ <ol class="breadcrumb">
+ <li><%= link_to "Members Home", members_root_path %></li>
+ <li><%= link_to "Members List", members_mains_path %></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>
-<p>
- <strong>Mcaddressl1:</strong>
- <%= @members_contact.mcaddressl1 %>
-</p>
+ </div>
+</div>
-<p>
- <strong>Mcaddressl2:</strong>
- <%= @members_contact.mcaddressl2 %>
-</p>
+<!-- Page Title -->
+<div class="row">
+ <div class="col-lg-12">
-<p>
- <strong>Mccity:</strong>
- <%= @members_contact.mccity %>
-</p>
+ <h3 class="page-title">
+ <%= yield(:phc_title) %> </br>
+ <small><%= yield(:phc_title_tagline) %></small>
+ </h3>
-<p>
- <strong>Mlprovince:</strong>
- <%= @members_contact.mcprovince %>
-</p>
+ </div>
+</div>
-<p>
- <strong>Mccountry:</strong>
- <%= @members_contact.mccountry %>
-</p>
-
-<p>
- <strong>Mcpostalcode:</strong>
- <%= @members_contact.mcpostalcode %>
-</p>
-
-<p>
- <strong>Mcphone:</strong>
- <%= @members_contact.mcphone %>
-</p>
-
-<p>
- <strong>Mlemail:</strong>
- <%= @members_contact.mcemail %>
-</p>
+<!-- Main Content -->
+<div class="row">
+ <%= render 'phcmembers/members/contacts/components/contact_main' %>
+</div>