phcmembers 61.0.0 → 61.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +2 -2
  4. data/app/assets/javascripts/phcmembers/application.js +1 -1
  5. data/app/assets/stylesheets/phcmembers/application.scss +1 -1
  6. data/app/controllers/phcmembers/api/v1/categories_controller.rb +15 -0
  7. data/app/controllers/phcmembers/api/v1/listings_controller.rb +16 -0
  8. data/app/controllers/phcmembers/application_controller.rb +18 -16
  9. data/app/controllers/phcmembers/directory/categories_controller.rb +14 -13
  10. data/app/controllers/phcmembers/member/addresses_controller.rb +21 -21
  11. data/app/controllers/phcmembers/member/dashboards_controller.rb +17 -0
  12. data/app/controllers/phcmembers/member/listings_controller.rb +17 -18
  13. data/app/controllers/phcmembers/member/profiles_controller.rb +15 -16
  14. data/app/helpers/phcmembers/application_helper.rb +2 -12
  15. data/app/jobs/phcmembers/application_job.rb +2 -2
  16. data/app/mailers/phcmembers/application_mailer.rb +4 -6
  17. data/app/models/phcmembers/application_record.rb +3 -3
  18. data/app/models/phcmembers/category_versions.rb +3 -3
  19. data/app/models/phcmembers/directory.rb +5 -5
  20. data/app/models/phcmembers/directory/category.rb +3 -6
  21. data/app/models/phcmembers/listing_versions.rb +3 -3
  22. data/app/models/phcmembers/member/address.rb +28 -28
  23. data/app/models/phcmembers/member/listing.rb +48 -49
  24. data/app/models/phcmembers/member/profile.rb +36 -36
  25. data/app/models/phcmembers/profile_versions.rb +3 -3
  26. data/app/views/layouts/phcmembers/application.html.erb +16 -18
  27. data/app/views/layouts/phcmembers/application_full_width.html.erb +80 -82
  28. data/app/views/layouts/phcmembers/components/backend/footer/_footer.html.erb +1 -1
  29. data/app/views/layouts/phcmembers/components/backend/navigation/_top_menu.html.erb +79 -143
  30. data/app/views/layouts/phcmembers/components/backend/sidebars/_side_menu.html.erb +154 -116
  31. data/app/views/layouts/phcmembers/components/frontend/footer/_footer.html.erb +14 -0
  32. data/app/views/layouts/phcmembers/components/frontend/footer/_footer_copyright.html.erb +19 -0
  33. data/app/views/layouts/phcmembers/components/frontend/header/_slideout.html.erb +24 -0
  34. data/app/views/layouts/phcmembers/components/frontend/header/_topbar.html.erb +17 -0
  35. data/app/views/layouts/phcmembers/components/frontend/navigation/_navigation.html.erb +27 -0
  36. data/app/views/layouts/phcmembers/components/frontend/pages/_titlebars.html.erb +14 -0
  37. data/app/views/layouts/phcmembers/components/frontend/seo/_seo_main.html.erb +5 -0
  38. data/app/views/layouts/phcmembers/mailer.html.erb +12 -0
  39. data/app/views/layouts/phcmembers/mailer.text.erb +1 -0
  40. data/app/views/phcmembers/api/v1/categories/index.json.rabl +2 -0
  41. data/app/views/phcmembers/api/v1/listings/index.json.rabl +2 -0
  42. data/app/views/phcmembers/directory/categories/_form.html.erb +12 -6
  43. data/app/views/phcmembers/directory/categories/components/_category_audits.html.erb +24 -10
  44. data/app/views/phcmembers/directory/categories/components/_category_list.html.erb +15 -7
  45. data/app/views/phcmembers/directory/categories/components/_category_main.html.erb +26 -20
  46. data/app/views/phcmembers/directory/categories/components/_category_sidebar.html.erb +16 -0
  47. data/app/views/phcmembers/directory/categories/edit.html.erb +25 -28
  48. data/app/views/phcmembers/directory/categories/index.html.erb +33 -38
  49. data/app/views/phcmembers/directory/categories/new.html.erb +25 -28
  50. data/app/views/phcmembers/directory/categories/show.html.erb +24 -17
  51. data/app/views/phcmembers/member/addresses/_form.html.erb +1 -1
  52. data/app/views/phcmembers/member/addresses/edit.html.erb +15 -3
  53. data/app/views/phcmembers/member/addresses/index.html.erb +16 -3
  54. data/app/views/phcmembers/member/addresses/new.html.erb +14 -2
  55. data/app/views/phcmembers/member/addresses/show.html.erb +14 -2
  56. data/app/views/phcmembers/member/dashboards/index.html.erb +62 -0
  57. data/app/views/phcmembers/member/listings/_form.html.erb +25 -25
  58. data/app/views/phcmembers/member/listings/edit.html.erb +14 -2
  59. data/app/views/phcmembers/member/listings/index.html.erb +16 -3
  60. data/app/views/phcmembers/member/listings/new.html.erb +14 -2
  61. data/app/views/phcmembers/member/listings/show.html.erb +15 -3
  62. data/app/views/phcmembers/member/profiles/components/_profile_header.html.erb +29 -29
  63. data/app/views/phcmembers/member/profiles/edit.html.erb +15 -2
  64. data/app/views/phcmembers/member/profiles/index.html.erb +12 -1
  65. data/app/views/phcmembers/member/profiles/new.html.erb +15 -2
  66. data/app/views/phcmembers/member/profiles/show.html.erb +1 -1
  67. data/config/routes.rb +12 -15
  68. data/db/migrate/20160728231036_create_phcmembers_member_profiles.rb +5 -2
  69. data/lib/phcmembers/engine.rb +67 -61
  70. data/lib/phcmembers/version.rb +1 -1
  71. metadata +101 -113
  72. data/app/controllers/phcmembers/api/directories_controller.rb +0 -18
  73. data/app/controllers/phcmembers/directory/categorylistings_controller.rb +0 -30
  74. data/app/controllers/phcmembers/modules/dashboards_controller.rb +0 -17
  75. data/app/models/phcmembers/category_listing_versions.rb +0 -5
  76. data/app/models/phcmembers/connections.rb +0 -7
  77. data/app/models/phcmembers/directory/categorylisting.rb +0 -12
  78. data/app/views/layouts/phcmembers/directory/directory_all.html.erb +0 -56
  79. data/app/views/layouts/phcmembers/members/members_all.html.erb +0 -56
  80. data/app/views/phcmembers/directory/categorylistings/components/_category_listing_audits.html.erb +0 -11
  81. data/app/views/phcmembers/directory/categorylistings/components/_category_listing_list.html.erb +0 -7
  82. data/app/views/phcmembers/directory/categorylistings/components/_category_listing_main.html.erb +0 -22
  83. data/app/views/phcmembers/directory/categorylistings/index.html.erb +0 -62
  84. data/app/views/phcmembers/directory/categorylistings/show.html.erb +0 -25
  85. data/app/views/phcmembers/modules/dashboards/index.html.erb +0 -66
@@ -1,38 +1,35 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Directory Category Manager" %>
3
3
  <% phc_title_tagline "Create a New Directory Category" %>
4
- <% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
4
+ <% phc_breadcrumb_one link_to "Dashboard", phcmembers.dashboard_path %>
5
5
  <% phc_breadcrumb_two link_to "Directory Category Index", phcmembers.directory_categories_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
7
  <!-- Title System -->
8
8
 
9
- <!-- Page Title Bar -->
10
- <section class="content-header">
11
- <!-- Page Title and BreadCrumb -->
12
- <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
13
- <ol class="breadcrumb">
14
- <li><%= yield(:phc_breadcrumb_one) %></li>
15
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
16
- </ol>
17
- <!-- Page Title and BreadCrumb -->
18
- </section>
19
- <!-- Page Title Bar -->
9
+ <!-- Page Bradcrumbs -->
10
+ <ol class="breadcrumb pull-right">
11
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
+ </ol>
15
+ <!-- Page Bradcrumbs -->
20
16
 
21
- <!-- Main Content -->
22
- <section class="content">
23
- <div class="row">
24
- <div class="col-lg-12">
25
- <div class="box">
26
- <div class="box-header with-border">
27
- <h3 class="box-title"><%= yield(:phc_title) %></h3>
28
- </div>
29
- <div class="box-body">
30
- <!-- Page Form (New) -->
31
- <%= render 'form', directory_category: @directory_category %>
32
- <!-- Page Form (New) -->
33
- </div>
34
- </div>
17
+ <!-- Page Header -->
18
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
+ <!-- Page Header -->
20
+
21
+ <!-- Page Content -->
22
+ <div class="panel panel-inverse">
23
+ <div class="panel-heading">
24
+ <div class="panel-heading-btn">
25
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
26
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
27
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
35
28
  </div>
29
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
36
30
  </div>
37
- </section>
38
- <!-- Main Content -->
31
+ <div class="panel-body">
32
+ <%= render 'form', directory_category: @directory_category %>
33
+ </div>
34
+ </div>
35
+ <!-- Page Content -->
@@ -1,25 +1,32 @@
1
1
  <!-- Title System -->
2
2
  <% phc_title "Directory Category Manager" %>
3
3
  <% phc_title_tagline "Detailed Information for " + @directory_category.catname %>
4
- <% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
4
+ <% phc_breadcrumb_one link_to "Dashboard", phcmembers.dashboard_path %>
5
5
  <% phc_breadcrumb_two link_to "Directory Category Index", phcmembers.directory_categories_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
7
  <!-- Title System -->
8
8
 
9
- <!-- Page Title Bar -->
10
- <section class="content-header">
11
- <!-- Page Title and BreadCrumb -->
12
- <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
13
- <ol class="breadcrumb">
14
- <li><%= yield(:phc_breadcrumb_one) %></li>
15
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
16
- </ol>
17
- <!-- Page Title and BreadCrumb -->
18
- </section>
19
- <!-- Page Title Bar -->
9
+ <!-- Page Bradcrumbs -->
10
+ <ol class="breadcrumb pull-right">
11
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
+ </ol>
15
+ <!-- Page Bradcrumbs -->
20
16
 
21
- <!-- Main Content -->
22
- <section class="content">
23
- <%= render 'phcmembers/directory/categories/components/category_main' %>
24
- </section>
25
- <!-- Main Content -->
17
+ <!-- Page Header -->
18
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
+ <!-- Page Header -->
20
+
21
+ <!-- Page Content -->
22
+ <div class="wrapper wrapper-content animated fadeInRight">
23
+ <div class="row">
24
+ <div class="col-lg-3">
25
+ <%= render 'phcmembers/directory/categories/components/category_sidebar' %>
26
+ </div>
27
+ <div class="col-lg-9">
28
+ <%= render 'phcmembers/directory/categories/components/category_main' %>
29
+ </div>
30
+ </div>
31
+ </div>
32
+ <!-- Page Content -->
@@ -24,7 +24,7 @@
24
24
  </div>
25
25
  <div class="form-group field_with_errors">
26
26
  <%= phc_members_member_address.label :mccountry, "Country" %>
27
- <%= country_select("member_address", "mccountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
27
+ <%= phc_members_member_address.text_field :mccountry, class: "form-control", placeholder: "Country" %>
28
28
  </div>
29
29
  <div class="form-group field_with_errors">
30
30
  <%= phc_members_member_address.label :mcpostalcode, "PostalCode" %>
@@ -1,11 +1,23 @@
1
1
  <!-- Title Variables -->
2
2
  <% phc_title "Member Address Manager" %>
3
3
  <% phc_title_tagline "Update Address for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
4
- <% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
5
- <% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
4
+ <% phc_breadcrumb_one link_to "Members List", phcmembers.member_profiles_path %>
5
+ <% phc_breadcrumb_two link_to "Addresses for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname, phcmembers.member_profile_addresses_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
7
  <!-- Title System -->
8
8
 
9
+ <!-- Page Bradcrumbs -->
10
+ <ol class="breadcrumb pull-right">
11
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
+ </ol>
15
+ <!-- Page Bradcrumbs -->
16
+
17
+ <!-- Page Header -->
18
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
+ <!-- Page Header -->
20
+
9
21
  <!-- Page Content -->
10
22
  <div class="panel panel-inverse">
11
23
  <div class="panel-heading">
@@ -17,7 +29,7 @@
17
29
  <h4 class="panel-title"><%= yield(:phc_title) %></h4>
18
30
  </div>
19
31
  <div class="panel-body">
20
- <%= render 'form', { form_url: member_profile_addresses_path } %>
32
+ <%= render 'form', { form_url: member_profile_address_path } %>
21
33
  </div>
22
34
  </div>
23
35
  <!-- Page Content -->
@@ -1,10 +1,23 @@
1
1
  <!-- Title Variables -->
2
2
  <% phc_title "Member Address Manager" %>
3
- <% phc_title_tagline "Address Index for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
4
- <% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
5
- <% phc_breadcrumb_two yield(:phc_title_tagline) %>
3
+ <% phc_title_tagline "Addresses for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
4
+ <% phc_breadcrumb_one link_to "Dashboard", phcmembers.dashboard_path %>
5
+ <% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
6
+ <% phc_breadcrumb_three yield(:phc_title_tagline) %>
6
7
  <!-- Title System -->
7
8
 
9
+ <!-- Page Bradcrumbs -->
10
+ <ol class="breadcrumb pull-right">
11
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
+ </ol>
15
+ <!-- Page Bradcrumbs -->
16
+
17
+ <!-- Page Header -->
18
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
+ <!-- Page Header -->
20
+
8
21
  <!-- Page Content -->
9
22
  <div class="panel panel-inverse">
10
23
  <div class="panel-heading">
@@ -1,11 +1,23 @@
1
1
  <!-- Title Variables -->
2
2
  <% phc_title "Member Address Manager" %>
3
3
  <% phc_title_tagline "Create a New Address for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
4
- <% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
5
- <% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
4
+ <% phc_breadcrumb_one link_to "Members List", phcmembers.member_profiles_path %>
5
+ <% phc_breadcrumb_two link_to "Addresses for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname, phcmembers.member_profile_addresses_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
7
  <!-- Title System -->
8
8
 
9
+ <!-- Page Bradcrumbs -->
10
+ <ol class="breadcrumb pull-right">
11
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
+ </ol>
15
+ <!-- Page Bradcrumbs -->
16
+
17
+ <!-- Page Header -->
18
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
+ <!-- Page Header -->
20
+
9
21
  <!-- Page Content -->
10
22
  <div class="panel panel-inverse">
11
23
  <div class="panel-heading">
@@ -1,11 +1,23 @@
1
1
  <!-- Title Variables -->
2
2
  <% phc_title "Member Address Manager" %>
3
3
  <% phc_title_tagline "Detailed Address Information for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
4
- <% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
5
- <% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
4
+ <% phc_breadcrumb_one link_to "Members List", phcmembers.member_profiles_path %>
5
+ <% phc_breadcrumb_two link_to "Addresses for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname, phcmembers.member_profile_addresses_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
7
  <!-- Title System -->
8
8
 
9
+ <!-- Page Bradcrumbs -->
10
+ <ol class="breadcrumb pull-right">
11
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
+ </ol>
15
+ <!-- Page Bradcrumbs -->
16
+
17
+ <!-- Page Header -->
18
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
+ <!-- Page Header -->
20
+
9
21
  <!-- Page Content -->
10
22
  <div class="panel panel-inverse">
11
23
  <div class="panel-heading">
@@ -0,0 +1,62 @@
1
+ <div class="row border-bottom white-bg dashboard-header">
2
+
3
+ </div>
4
+ <div class="row">
5
+ <div class="col-lg-12">
6
+ <div class="wrapper wrapper-content">
7
+
8
+ <div class="row">
9
+
10
+ <div class="col-lg-3 col-md-6">
11
+ <div class="widget widget-stats bg-gradient-teal">
12
+ <div class="stats-icon stats-icon-lg">
13
+ <i class="fas fa-users fa-fw"></i>
14
+ </div>
15
+ <div class="stats-content">
16
+ <div class="stats-title">Total <%= "Member".pluralize(2) %></div>
17
+ <div class="stats-number"><%= @member_profile.count(:all) %></div>
18
+ </div>
19
+ </div>
20
+ </div>
21
+
22
+ <div class="col-lg-3 col-md-6">
23
+ <div class="widget widget-stats bg-gradient-blue">
24
+ <div class="stats-icon stats-icon-lg">
25
+ <i class="fas fa-globe-asia fa-fw"></i>
26
+ </div>
27
+ <div class="stats-content">
28
+ <div class="stats-title">Total <%= "Address".pluralize(2) %></div>
29
+ <div class="stats-number"><%= @member_address.count(:all) %></div>
30
+ </div>
31
+ </div>
32
+ </div>
33
+
34
+ <div class="col-lg-3 col-md-6">
35
+ <div class="widget widget-stats bg-gradient-purple">
36
+ <div class="stats-icon stats-icon-lg">
37
+ <i class="fas fa-address-card fa-fw"></i>
38
+ </div>
39
+ <div class="stats-content">
40
+ <div class="stats-title">Total <%= "Listing".pluralize(2) %></div>
41
+ <div class="stats-number"><%= @member_listing.count(:all) %></div>
42
+ </div>
43
+ </div>
44
+ </div>
45
+
46
+ <div class="col-lg-3 col-md-6">
47
+ <div class="widget widget-stats bg-gradient-pink">
48
+ <div class="stats-icon stats-icon-lg">
49
+ <i class="fas fa-sitemap fa-fw"></i>
50
+ </div>
51
+ <div class="stats-content">
52
+ <div class="stats-title">Total <%= "Category".pluralize(2) %></div>
53
+ <div class="stats-number"><%= @directory_category.count(:all) %></div>
54
+ </div>
55
+ </div>
56
+ </div>
57
+
58
+ </div>
59
+
60
+ </div>
61
+ </div>
62
+ </div>
@@ -1,5 +1,5 @@
1
1
  <!-- PHCMembers Form - Web Directory Listings -->
2
- <%= form_for([@member_listing.profile, @member_listing], url: form_url) do |phc_members_member_listings| %>
2
+ <%= form_for([@member_listing.profile, @member_listing], url: form_url) do |phc_members_member_listing| %>
3
3
 
4
4
  <!-- PHCNotifi Render Validation -->
5
5
  <%= render 'phcnotifi/validations', :object => @member_listing %>
@@ -7,58 +7,58 @@
7
7
 
8
8
  <!-- PHCMembers Fields - Web Directory Listings -->
9
9
  <div class="form-group field_with_errors">
10
- <%= phc_members_member_listings.label :mbcompanyname, "Company Name" %>
11
- <%= phc_members_member_listings.text_field :mbcompanyname, class: "form-control", placeholder: "Business/Organization: Name" %>
10
+ <%= phc_members_member_listing.label :mbcompanyname, "Company Name" %>
11
+ <%= phc_members_member_listing.text_field :mbcompanyname, class: "form-control", placeholder: "Business/Organization: Name" %>
12
12
  </div>
13
13
  <div class="form-group field_with_errors">
14
- <%= phc_members_member_listings.label :mbcontactname, "Contact Name" %>
15
- <%= phc_members_member_listings.text_field :mbcontactname, class: "form-control", placeholder: "Business/Organization: Contact Person" %>
14
+ <%= phc_members_member_listing.label :mbcontactname, "Contact Name" %>
15
+ <%= phc_members_member_listing.text_field :mbcontactname, class: "form-control", placeholder: "Business/Organization: Contact Person" %>
16
16
  </div>
17
17
  <div class="form-group field_with_errors">
18
- <%= phc_members_member_listings.label :mbaddressl1, "Address Line 1" %>
19
- <%= phc_members_member_listings.text_field :mbaddressl1, class: "form-control", placeholder: "Location: Street Address" %>
18
+ <%= phc_members_member_listing.label :mbaddressl1, "Address Line 1" %>
19
+ <%= phc_members_member_listing.text_field :mbaddressl1, class: "form-control", placeholder: "Location: Street Address" %>
20
20
  </div>
21
21
  <div class="form-group field_with_errors">
22
- <%= phc_members_member_listings.label :mbaddressl2, "Address Line 2" %>
23
- <%= phc_members_member_listings.text_field :mbaddressl2, class: "form-control", placeholder: "Location: Box - Suite - Floor" %>
22
+ <%= phc_members_member_listing.label :mbaddressl2, "Address Line 2" %>
23
+ <%= phc_members_member_listing.text_field :mbaddressl2, class: "form-control", placeholder: "Location: Box - Suite - Floor" %>
24
24
  </div>
25
25
  <div class="form-group field_with_errors">
26
- <%= phc_members_member_listings.label :mbcity, "City" %>
27
- <%= phc_members_member_listings.text_field :mbcity, class: "form-control", placeholder: "Location: City" %>
26
+ <%= phc_members_member_listing.label :mbcity, "City" %>
27
+ <%= phc_members_member_listing.text_field :mbcity, class: "form-control", placeholder: "Location: City" %>
28
28
  </div>
29
29
  <div class="form-group field_with_errors">
30
- <%= phc_members_member_listings.label :mbprovince, "Province/State" %>
31
- <%= phc_members_member_listings.text_field :mbprovince, class: "form-control", placeholder: "Location: Province/State" %>
30
+ <%= phc_members_member_listing.label :mbprovince, "Province/State" %>
31
+ <%= phc_members_member_listing.text_field :mbprovince, class: "form-control", placeholder: "Location: Province/State" %>
32
32
  </div>
33
33
  <div class="form-group field_with_errors">
34
- <%= phc_members_member_listings.label :mbcountry, "Country" %>
35
- <%= country_select("member_listing", "mbcountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
34
+ <%= phc_members_member_listing.label :mbcountry, "Country" %>
35
+ <%= phc_members_member_listing.text_field :mbcountry, class: "form-control", placeholder: "Country" %>
36
36
  </div>
37
37
  <div class="form-group field_with_errors">
38
- <%= phc_members_member_listings.label :mbpostalcode, "Postal Code" %><br>
39
- <%= phc_members_member_listings.text_field :mbpostalcode, class: "form-control", placeholder: "Location: PostalCode" %>
38
+ <%= phc_members_member_listing.label :mbpostalcode, "Postal Code" %><br>
39
+ <%= phc_members_member_listing.text_field :mbpostalcode, class: "form-control", placeholder: "Location: PostalCode" %>
40
40
  </div>
41
41
  <div class="form-group field_with_errors">
42
- <%= phc_members_member_listings.label :mbphone, "Business Phone Number" %>
43
- <%= phc_members_member_listings.text_field :mbphone, class: "form-control", placeholder: "Business/Organization: PhoneNumber (Public)" %>
42
+ <%= phc_members_member_listing.label :mbphone, "Business Phone Number" %>
43
+ <%= phc_members_member_listing.text_field :mbphone, class: "form-control", placeholder: "Business/Organization: PhoneNumber (Public)" %>
44
44
  </div>
45
45
  <div class="form-group field_with_errors">
46
- <%= phc_members_member_listings.label :mbcontactemail, "Business General Email" %>
47
- <%= phc_members_member_listings.text_field :mbcontactemail, class: "form-control", placeholder: "Business/Organization: Email Address (Public)" %>
46
+ <%= phc_members_member_listing.label :mbcontactemail, "Business General Email" %>
47
+ <%= phc_members_member_listing.text_field :mbcontactemail, class: "form-control", placeholder: "Business/Organization: Email Address (Public)" %>
48
48
  </div>
49
49
  <div class="form-group field_with_errors">
50
- <%= phc_members_member_listings.label :mbwebsite, "Business Website" %>
51
- <%= phc_members_member_listings.text_field :mbwebsite, class: "form-control", placeholder: "Business/Organization: Website (Public)" %>
50
+ <%= phc_members_member_listing.label :mbwebsite, "Business Website" %>
51
+ <%= phc_members_member_listing.text_field :mbwebsite, class: "form-control", placeholder: "Business/Organization: Website (Public)" %>
52
52
  </div>
53
53
  <div class="form-group field_with_errors">
54
- <%= phc_members_member_listings.collection_check_boxes :category_ids, Phcmembers::Directory::Category.all, :id, :catname do |listing_category| %>
54
+ <%= phc_members_member_listing.collection_check_boxes :category_ids, Phcmembers::Directory::Category.all, :id, :catname do |listing_category| %>
55
55
  <%= listing_category.check_box %>
56
56
  <%= listing_category.label %></br>
57
57
  <% end %>
58
58
  </div>
59
59
  <br>
60
60
  <div class="actions">
61
- <%= phc_members_member_listings.submit class: "btn btn-primary btn-gradient waves-effect waves-light btn-md" %>
61
+ <%= phc_members_member_listing.submit class: "btn btn-primary btn-gradient waves-effect waves-light btn-md" %>
62
62
  </div>
63
63
  <br>
64
64
  <!-- PHCMembers Fields - Web Directory Listings -->
@@ -1,11 +1,23 @@
1
1
  <!-- Title Variables -->
2
2
  <% phc_title "Member Listing Manager" %>
3
3
  <% phc_title_tagline "Update Listing for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
4
- <% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
5
- <% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
4
+ <% phc_breadcrumb_one link_to "Members List", phcmembers.member_profiles_path %>
5
+ <% phc_breadcrumb_two link_to "Listings for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname, phcmembers.member_profile_listings_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
7
  <!-- Title System -->
8
8
 
9
+ <!-- Page Bradcrumbs -->
10
+ <ol class="breadcrumb pull-right">
11
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
+ </ol>
15
+ <!-- Page Bradcrumbs -->
16
+
17
+ <!-- Page Header -->
18
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
+ <!-- Page Header -->
20
+
9
21
  <!-- Page Content -->
10
22
  <div class="panel panel-inverse">
11
23
  <div class="panel-heading">
@@ -1,10 +1,23 @@
1
1
  <!-- Title Variables -->
2
2
  <% phc_title "Member Listings Manager" %>
3
- <% phc_title_tagline "Listing Index for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
4
- <% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
5
- <% phc_breadcrumb_two yield(:phc_title_tagline) %>
3
+ <% phc_title_tagline "Listings for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
4
+ <% phc_breadcrumb_one link_to "Dashboard", phcmembers.dashboard_path %>
5
+ <% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
6
+ <% phc_breadcrumb_three yield(:phc_title_tagline) %>
6
7
  <!-- Title System -->
7
8
 
9
+ <!-- Page Bradcrumbs -->
10
+ <ol class="breadcrumb pull-right">
11
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
+ </ol>
15
+ <!-- Page Bradcrumbs -->
16
+
17
+ <!-- Page Header -->
18
+ <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
+ <!-- Page Header -->
20
+
8
21
  <!-- Page Content -->
9
22
  <div class="panel panel-inverse">
10
23
  <div class="panel-heading">