app/views/phcmembers/member/addresses/index.html.erb in phcmembers-4.2.10 vs app/views/phcmembers/member/addresses/index.html.erb in phcmembers-5.0.0
- old
+ new
@@ -1,44 +1,35 @@
<!-- Title Variables -->
<% phc_title "PHCMembers - Member Address Manager" %>
<% phc_title_tagline "Address Index for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
+<!-- Title System -->
-<!-- Page Header -->
-<div class="row">
- <div class="col-lg-12">
+<!-- Page Title Bar -->
+<section class="content-header">
- <!-- Bread Crumbs -->
- <ol class="breadcrumb">
- <li><%= link_to "Dashboard", member_root_path %></li>
- <li><%= link_to "Member Profile List", member_profiles_path %></li>
- <li class="active"><%= yield(:phc_title_tagline) %></li>
- </ol>
+ <!-- Page Title and BreadCrumb -->
+ <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
+ <ol class="breadcrumb">
+ <li><%= link_to "Dashboard", member_root_path %></li>
+ <li><%= link_to "Member Profile List", member_profiles_path %></li>
+ <li class="active"><%= yield(:phc_title_tagline) %></li>
+ </ol>
+ <!-- Page Title and BreadCrumb -->
- <!-- Page Title -->
- <h3 class="page-title">
- <%= yield(:phc_title) %> </br>
- <small><%= yield(:phc_title_tagline) %></small>
- </h3>
+</section>
+<!-- Page Title Bar -->
- </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="panel panel-default">
- <div class="panel-heading">
-
- <div class="caption">
- <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
+ <div class="box">
+ <div class="box-header with-border">
+ <h3 class="box-title"><%= yield(:phc_title) %></h3>
</div>
-
- </div>
- <div class="panel-body">
-
- <div class="table-scrollable">
+ <div class="box-body">
<table class="table table-striped table-bordered table-advance table-hover">
<thead>
<tr>
<th>Address Line 1</th>
<th>Address Line 2</th>
@@ -47,11 +38,10 @@
<th>Country</th>
<th>PostalCode</th>
<th>Type</th>
</tr>
</thead>
-
<tbody>
<% @member_addresses.each do |member_address| %>
<tr>
<td class="highlight"><%= link_to member_address.mcaddressl1, member_profile_address_path(member_address.profile, member_address) %></td>
<td class="highlight"><%= link_to member_address.mcaddressl2, member_profile_address_path(member_address.profile, member_address) %></td>
@@ -63,16 +53,16 @@
</tr>
<% end %>
</tbody>
</table>
</div>
-
+ <div class="box-footer clearfix">
+ <%= link_to new_member_profile_address_path, class: "btn btn-primary" do %>
+ <i class="fa fa-plus"></i> <%= "Add a New Address for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
+ <% end %>
+ </div>
</div>
- </div>
- <%= link_to new_member_profile_address_path, class: "btn btn-primary" do %>
- <i class="fa fa-plus"></i> <%= "Add a New Address for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
- <% end %>
-
+ </div>
</div>
-</div>
-
+</section>
+<!-- Main Content -->