app/views/phcmemberspro/members/contacts/show.html.erb in phcmemberspro-4.8.0 vs app/views/phcmemberspro/members/contacts/show.html.erb in phcmemberspro-4.8.4
- old
+ new
@@ -1,51 +1,89 @@
-<p id="notice"><%= notice %></p>
+<!-- Title System -->
+<% phc_title "PHCMembers - Member Addresses" %>
+<% phc_title_tagline "Address Profile for " @members_main.mfirstname + ' ' + @members_main.mlastname %>
-<p>
- <strong>Mccontactname:</strong>
- <%= @members_contact.mccontactname %>
-</p>
+<!-- Bread Crumbs -->
+<ul class="page-breadcrumb">
+ <li><%= link_to "Home", members_root_path %><i class="fa fa-circle"></i></li>
+ <li><%= link_to "Members List", members_mains_path %><i class="fa fa-circle"></i></li>
+ <li><%= link_to "Members Contact", members_main_contacts_path %><i class="fa fa-circle"></i></li>
+ <li class="active">Address Profile for <%= @members_main.mfirstname + ' ' + @members_main.mlastname %></li>
+</ul>
-<p>
- <strong>Mccompanyname:</strong>
- <%= @members_contact.mccompanyname %>
-</p>
+<!-- Action Button -->
+<div class="page-toolbar">
+ <div class="btn-group pull-right">
+ <button type="button" class="btn green btn-sm btn-outline dropdown-toggle" data-toggle="dropdown"> Member Address Actions
+ <i class="fa fa-angle-down"></i>
+ </button>
+ <ul class="dropdown-menu pull-right" role="menu">
+ </ul>
+ </div>
+</div>
-<p>
- <strong>Mcaddressl1:</strong>
- <%= @members_contact.mcaddressl1 %>
-</p>
+<!-- Main Content -->
+<div id="content" class="padding-20">
-<p>
- <strong>Mcaddressl2:</strong>
- <%= @members_contact.mcaddressl2 %>
-</p>
+ <div class="row">
+ <div class="col-md-12">
+ <div class="portlet box blue-chambray bordered">
+ <div class="portlet-title">
+ <div class="caption">
+ <span class="caption-subject bold uppercase">Address Profile for <%= @members_main.mfirstname + ' ' + @members_main.mlastname %></span>
+ </div>
+ </div>
+ <div class="portlet-body">
+ <p>
+ <strong>Contact Name:</strong>
+ <%= @members_contact.mccontactname %>
+ </p>
+ <p>
+ <strong>Company Name:</strong>
+ <%= @members_contact.mccompanyname %>
+ </p>
-<p>
- <strong>Mccity:</strong>
- <%= @members_contact.mccity %>
-</p>
+ <p>
+ <strong>Address Line 1:</strong>
+ <%= @members_contact.mcaddressl1 %>
+ </p>
-<p>
- <strong>Mlprovince:</strong>
- <%= @members_contact.mcprovince %>
-</p>
+ <p>
+ <strong>Address Line 2:</strong>
+ <%= @members_contact.mcaddressl2 %>
+ </p>
-<p>
- <strong>Mccountry:</strong>
- <%= @members_contact.mccountry %>
-</p>
+ <p>
+ <strong>City:</strong>
+ <%= @members_contact.mccity %>
+ </p>
-<p>
- <strong>Mcpostalcode:</strong>
- <%= @members_contact.mcpostalcode %>
-</p>
+ <p>
+ <strong>Province:</strong>
+ <%= @members_contact.mcprovince %>
+ </p>
-<p>
- <strong>Mcphone:</strong>
- <%= @members_contact.mcphone %>
-</p>
+ <p>
+ <strong>Country:</strong>
+ <%= @members_contact.mccountry %>
+ </p>
-<p>
- <strong>Mlemail:</strong>
- <%= @members_contact.mcemail %>
-</p>
\ No newline at end of file
+ <p>
+ <strong>PostalCode:</strong>
+ <%= @members_contact.mcpostalcode %>
+ </p>
+
+ <p>
+ <strong>Phone:</strong>
+ <%= @members_contact.mcphone %>
+ </p>
+
+ <p>
+ <strong>Email:</strong>
+ <%= @members_contact.mcemail %>
+ </p>
+ </div>
+ </div>
+ </div>
+ </div>
+
+</div>