app/views/phcmembers/member/listings/new.html.erb in phcmembers-6.5.1 vs app/views/phcmembers/member/listings/new.html.erb in phcmembers-6.7.0
- old
+ new
@@ -1,39 +1,38 @@
-<!-- Title System -->
+<!-- Title Variables -->
<% phc_title "Member Listing Manager" %>
-<% phc_title_tagline "New Listing for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
+<% phc_title_tagline "Create a New Listing for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
+<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.modules_dashboards_index_path %>
+<% phc_breadcrumb_two link_to "Members List", phcmemberspro.member_profiles_path %>
+<% phc_breadcrumb_three yield(:phc_title_tagline) %>
<!-- Title System -->
<!-- Page Title Bar -->
<section class="content-header">
-
<!-- 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 + " Listing Index", member_profile_listings_path %></li>
- <li class="active"><%= yield(:phc_title_tagline) %></li>
+ <li><%= yield(:phc_breadcrumb_one) %></li>
+ <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
</ol>
<!-- Page Title and BreadCrumb -->
-
</section>
<!-- Page Title Bar -->
<!-- Main Content -->
<section class="content">
<div class="row">
<div class="col-lg-12">
-
<div class="box">
<div class="box-header with-border">
<h3 class="box-title"><%= yield(:phc_title) %></h3>
</div>
<div class="box-body">
+
<%= render 'form', { form_url: member_profile_listings_path } %>
+
</div>
</div>
-
</div>
</div>
</section>
-<!-- Main Content -->
+<!-- Main Content -->
\ No newline at end of file