app/views/phcmembers/member/addresses/new.html.erb in phcmembers-4.2.10 vs app/views/phcmembers/member/addresses/new.html.erb in phcmembers-5.0.0
- old
+ new
@@ -1,47 +1,39 @@
<!-- Title System -->
<% phc_title "PHCMembers - Member Address Manager" %>
-<% phc_title_tagline "Update Address Information for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
+<% phc_title_tagline "New Address 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><%= link_to @members_profile_info.mfirstname + " " + @members_profile_info.mlastname + " Address Index", member_profile_addresses_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><%= link_to @members_profile_info.mfirstname + " " + @members_profile_info.mlastname + " Address Index", member_profile_addresses_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 class="actions">
+ <div class="box-body">
+ <%= render 'form', { form_url: member_profile_addresses_path } %>
</div>
</div>
- <div class="panel-body">
- <%= render 'form', { form_url: member_profile_addresses_path } %>
- </div>
-
</div>
-
</div>
-</div>
+</section>
+<!-- Main Content -->