phcmemberspro 57.0.0 → 58.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/phcmemberspro/application.js +17 -2
  3. data/app/assets/stylesheets/phcmemberspro/application.scss +1 -1
  4. data/app/controllers/phcmemberspro/member/profiles_controller.rb +3 -2
  5. data/app/views/layouts/phcmemberspro/application.html.erb +2 -2
  6. data/app/views/layouts/phcmemberspro/application_full_width.html.erb +82 -0
  7. data/app/views/layouts/phcmemberspro/components/backend/navigation/_top_menu.html.erb +1 -1
  8. data/app/views/layouts/phcmemberspro/components/backend/sidebars/_side_menu.html.erb +1 -1
  9. data/app/views/phcmemberspro/directory/categories/_form.html.erb +11 -7
  10. data/app/views/phcmemberspro/directory/categories/edit.html.erb +11 -43
  11. data/app/views/phcmemberspro/directory/categories/index.html.erb +20 -49
  12. data/app/views/phcmemberspro/directory/categories/new.html.erb +11 -43
  13. data/app/views/phcmemberspro/member/addresses/_form.html.erb +23 -23
  14. data/app/views/phcmemberspro/member/addresses/edit.html.erb +11 -43
  15. data/app/views/phcmemberspro/member/addresses/index.html.erb +37 -66
  16. data/app/views/phcmemberspro/member/addresses/new.html.erb +11 -43
  17. data/app/views/phcmemberspro/member/listings/_form.html.erb +31 -36
  18. data/app/views/phcmemberspro/member/listings/edit.html.erb +11 -43
  19. data/app/views/phcmemberspro/member/listings/index.html.erb +41 -70
  20. data/app/views/phcmemberspro/member/listings/new.html.erb +11 -43
  21. data/app/views/phcmemberspro/member/profiles/_form.html.erb +20 -14
  22. data/app/views/phcmemberspro/member/profiles/components/_profile_addresses_table.html.erb +1 -0
  23. data/app/views/phcmemberspro/member/profiles/components/{_profile_audits.html.erb → _profile_audits_table.html.erb} +0 -0
  24. data/app/views/phcmemberspro/member/profiles/components/_profile_header.html.erb +29 -0
  25. data/app/views/phcmemberspro/member/profiles/components/_profile_listings_table.html.erb +1 -0
  26. data/app/views/phcmemberspro/member/profiles/edit.html.erb +11 -42
  27. data/app/views/phcmemberspro/member/profiles/index.html.erb +33 -62
  28. data/app/views/phcmemberspro/member/profiles/new.html.erb +11 -42
  29. data/app/views/phcmemberspro/member/profiles/show.html.erb +74 -27
  30. data/lib/phcmemberspro/version.rb +1 -1
  31. metadata +5 -4
  32. data/app/views/phcmemberspro/member/profiles/components/_profile_main.html.erb +0 -52
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e00e344101c03588ef8ee4ee995ad4c84fc11f56399440ee2bb9786500585eb0
4
- data.tar.gz: 4767e40796cb0cb44648376b0496610d6582e67adfcb115ba3b4d0648f35fb31
3
+ metadata.gz: 987bce82f3377ff3817d60bcd427f6da01a0a05fa0f6c7eb8467cc4902955091
4
+ data.tar.gz: 9a3edf3780d6a14279cbfb01e5d8530f35f87d2c1eb3ef4b175bd497e80458e2
5
5
  SHA512:
6
- metadata.gz: b3a8d7ce2dad558e22b8f68eac6c6e9ace9044287edfc0b4eeb5bba3e4c98561947b8a4c51240384c4363863d1c2706e8e05be6d16860219ea818302a157b557
7
- data.tar.gz: d8ffa288800eaec64bdea7d8139f1306566f59f86f9b73f242de4646bb89ad8296ba295d0f871fc5b72217fe39690791386a1028bbaec73b23edf66ac5d07580
6
+ metadata.gz: bd117846e2f8c82de785993f8cbc8aaa8b884e4251f8c5b816e51052571cf0d3beaa83ce483646c9813f6b0bb51e9fddccc991fdfb64f1d14db7e2013afc64b5
7
+ data.tar.gz: 72067784d7b72b8ee36a4651ddab4c3747733c3e3a7e83d39cf8c1c77c731fe770b250bb26d15a853cc847613609bdce969ae693e69e772d88e5cde8f9cc53e0
@@ -1,2 +1,17 @@
1
- // Add PHCAdmin2 Javascript
2
- //= require phc_admins_main_one
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
5
+ // vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require rails-ujs
14
+ //= require activestorage
15
+ //= require turbolinks
16
+ //= require phc_admins_main_five
17
+ //= require_tree .
@@ -1,2 +1,2 @@
1
1
  // Add PHCAdmin2 Styles
2
- @import "phc_admins_style_one";
2
+ @import "phc_admins_style_five";
@@ -2,12 +2,13 @@ require_dependency "phcmemberspro/application_controller"
2
2
 
3
3
  module Phcmemberspro
4
4
  class Member::ProfilesController < ApplicationController
5
-
6
- # Security & Action Filters
5
+
6
+ # Security, Layouts & Action Filters
7
7
  skip_before_action :phcmemberspro_get_member_profile_info
8
8
  before_action :authenticate_user!
9
9
  before_action :set_paper_trail_whodunnit
10
10
  before_action :set_member_profile, only: [:show, :edit, :update, :destroy]
11
+ layout "phcmemberspro/application_full_width", :only => [ :show ]
11
12
 
12
13
  # INDEX - Member Profile
13
14
  def index
@@ -2,8 +2,8 @@
2
2
  <html>
3
3
  <head>
4
4
 
5
- <% phc_seo_title "PHCAccounts - Accounts System" %>
6
- <% phc_seo_description "PHCNetworks - User Accounts Management System" %>
5
+ <% phc_seo_title "PHCMEMBERS(2018)" %>
6
+ <% phc_seo_description "Chamber of Commerce Members Management Software" %>
7
7
 
8
8
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
9
  <title><%= yield(:phc_seo_title) %></title>
@@ -0,0 +1,82 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+
5
+ <% phc_seo_title "PHCMEMBERS(2018)" %>
6
+ <% phc_seo_description "Chamber of Commerce Members Management Software" %>
7
+
8
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
9
+ <title><%= yield(:phc_seo_title) %></title>
10
+ <meta name="description" content="<%= yield(:phc_seo_description) %>">
11
+
12
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
13
+ <link rel="canonical" href="http://phcmembers.com">
14
+
15
+ <!-- Font -->
16
+ <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400%7CRaleway:300,400,500,600,700%7CLato:300,400,400italic,600,700"/>
17
+
18
+ <!-- Requried Style Sheets -->
19
+ <%= stylesheet_link_tag "phcaccountspro/application", media: "all", 'data-turbolinks-track': 'reload' %>
20
+
21
+ <!-- Security -->
22
+ <%= csrf_meta_tags %>
23
+
24
+ </head>
25
+ <body>
26
+
27
+ <!-- Page Container -->
28
+ <div id="page-container" class="page-container fade page-sidebar-fixed page-header-fixed">
29
+ <!-- Page Header -->
30
+ <div id="header" class="header navbar-default">
31
+ <%= render 'layouts/phcaccountspro/components/backend/navigation/top_menu' %>
32
+ </div>
33
+ <!-- Page Header -->
34
+
35
+ <!-- Page Sidebar -->
36
+ <div id="sidebar" class="sidebar">
37
+ <%= render 'layouts/phcaccountspro/components/backend/sidebars/side_menu' %>
38
+ </div>
39
+ <div class="sidebar-bg"></div>
40
+ <!-- Page Sidebar -->
41
+
42
+ <!-- Page Content -->
43
+ <div id="content" class="content content-full-width">
44
+ <%= yield %>
45
+ </div>
46
+ <!-- Page Content -->
47
+
48
+ <!-- Footer Content -->
49
+ <div id="footer" class="footer">
50
+ <%= render 'layouts/phcaccountspro/components/backend/footer/footer' %>
51
+ </div>
52
+ <!-- Footer Content -->
53
+
54
+ <!-- Scroll to Top -->
55
+ <a href="javascript:;" class="btn btn-icon btn-circle btn-success btn-scroll-to-top fade" data-click="scroll-top">
56
+ <i class="fa fa-angle-up"></i>
57
+ </a>
58
+ <!-- Scroll to Top -->
59
+
60
+ </div>
61
+ <!-- Page Container -->
62
+
63
+ <!-- Requried JavaScripts -->
64
+ <%= javascript_include_tag "phcaccountspro/application", 'data-turbolinks-track': 'reload' %>
65
+
66
+ <!-- WTF Slowing Down my Site. Nothing Nice to Say. Keep Bad Comments to Myself -->
67
+ <!--[if lt IE 9]>
68
+ <script src="https://frmwrks.phcnetworks.net/coloradmin/version-latest/admin/template/assets/crossbrowserjs/html5shiv.js"></script>
69
+ <script src="https://frmwrks.phcnetworks.net/coloradmin/version-latest/admin/template/assets/crossbrowserjs/respond.min.js"></script>
70
+ <script src="https://frmwrks.phcnetworks.net/coloradmin/version-latest/admin/template/assets/crossbrowserjs/excanvas.min.js"></script>
71
+ <![endif]-->
72
+ <!-- WTF Slowing Down my Site. Nothing Nice to Say. Keep Bad Comments to Myself -->
73
+
74
+ <script>
75
+ $(document).ready(function() {
76
+ App.init();
77
+ });
78
+ </script>
79
+ <!-- Requried JavaScripts -->
80
+
81
+ </body>
82
+ </html>
@@ -3,7 +3,7 @@
3
3
  <div class="navbar-header">
4
4
  <%= link_to phcaccountspro.welcome_status_page_path, class: "navbar-brand" do %>
5
5
  <!--<span class="navbar-logo"></span>-->
6
- <strong>PHC</strong>Accounts(Pro)
6
+ <strong>PHC</strong>Members(Pro)
7
7
  <% end %>
8
8
  <button type="button" class="navbar-toggle" data-click="sidebar-toggled">
9
9
  <span class="icon-bar"></span>
@@ -12,7 +12,7 @@
12
12
  <div class="info">
13
13
  <b class="caret pull-right"></b>
14
14
  <%= current_user.firstname + ' ' + current_user.lastname %>
15
- <small></small>
15
+ <small><%= current_user.username %></small>
16
16
  </div>
17
17
  </a>
18
18
  </li>
@@ -1,17 +1,21 @@
1
- <%= form_for(directory_category) do |f| %>
1
+ <!-- PHCMembers Form - Directory Categories -->
2
+ <%= form_with(model: @directory_category, local: true) do |phc_members_pro_member_directory_categories| %>
2
3
 
3
4
  <!-- PHCNotifi Render Validation -->
4
5
  <%= render 'phcnotifi/validations', :object => @directory_category %>
6
+ <!-- PHCNotifi Render Validation -->
5
7
 
8
+ <!-- PHCMembers Field - Directory Categories -->
6
9
  <div class="form-group field_with_errors">
7
-
8
- <label><%= f.label :catname, "Category Name" %></label>
9
- <%= f.text_field :catname, class: "form-control", placeholder: "Directory Category" %>
10
-
10
+ <%= phc_members_pro_member_directory_categories.label :catname, "Category Name" %>
11
+ <%= phc_members_pro_member_directory_categories.text_field :catname, class: "form-control", placeholder: "Directory Category" %>
11
12
  </div>
12
-
13
+ <br>
13
14
  <div class="actions">
14
- <%= f.submit class: "btn blue-soft" %>
15
+ <%= phc_members_pro_member_directory_categories.submit class: "btn btn-primary btn-gradient waves-effect waves-light btn-md" %>
15
16
  </div>
17
+ <br>
18
+ <!-- PHCMembers Field - Directory Categories -->
16
19
 
17
20
  <% end %>
21
+ <!-- PHCMembers Form - Directory Categories -->
@@ -6,51 +6,19 @@
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
7
  <!-- Title System -->
8
8
 
9
- <!-- Page Header -->
10
- <div class="row wrapper border-bottom white-bg page-heading">
11
- <div class="col-sm-8">
12
- <h2><%= yield(:phc_title) %></h2>
13
- <!-- Bread Crumb -->
14
- <ol class="breadcrumb">
15
- <li><%= yield(:phc_breadcrumb_one) %></li>
16
- <li><%= yield(:phc_breadcrumb_two) %></li>
17
- <li class="active"><%= yield(:phc_breadcrumb_three) %></li>
18
- </ol>
19
- <!-- Bread Crumb -->
20
- </div>
21
- <div class="col-sm-4">
22
- <div class="title-action">
23
- <%= link_to phcmemberspro.directory_categories_path, class: "btn btn-primary" do %>
24
- <i class="fa fa-sitemap"></i> Back to Category Index
25
- <% end %>
26
- </div>
27
- </div>
28
- </div>
29
- <!-- Page Header -->
30
-
31
9
  <!-- Page Content -->
32
- <div class="wrapper wrapper-content animated fadeInRight">
33
- <div class="row">
34
- <div class="col-lg-12">
35
-
36
- <div class="ibox float-e-margins">
37
- <div class="ibox-title">
38
- <h5><%= yield(:phc_title_tagline) %></h5>
39
- <div class="ibox-tools">
40
- <a class="collapse-link">
41
- <i class="fa fa-chevron-up"></i>
42
- </a>
43
- <a class="close-link">
44
- <i class="fa fa-times"></i>
45
- </a>
46
- </div>
47
- </div>
48
- <div class="ibox-content">
49
- <%= render 'form', directory_category: @directory_category %>
50
- </div>
51
- </div>
52
-
10
+ <div class="panel panel-inverse">
11
+ <div class="panel-heading">
12
+ <div class="panel-heading-btn">
13
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
14
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
15
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
16
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
53
17
  </div>
18
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
19
+ </div>
20
+ <div class="panel-body">
21
+ <%= render 'form', directory_category: @directory_category %>
54
22
  </div>
55
23
  </div>
56
24
  <!-- Page Content -->
@@ -5,57 +5,28 @@
5
5
  <% phc_breadcrumb_two yield(:phc_title_tagline) %>
6
6
  <!-- Title System -->
7
7
 
8
- <!-- Page Header -->
9
- <div class="row wrapper border-bottom white-bg page-heading">
10
- <div class="col-sm-8">
11
- <h2><%= yield(:phc_title) %></h2>
12
- <!-- Bread Crumb -->
13
- <ol class="breadcrumb">
14
- <li><%= yield(:phc_breadcrumb_one) %></li>
15
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
16
- </ol>
17
- <!-- Bread Crumb -->
18
- </div>
19
- <div class="col-sm-4">
20
- <div class="title-action">
21
- <%= link_to phcmemberspro.new_directory_category_path, class: "btn btn-primary" do %>
22
- <i class="fa fa-plus"></i> Create a New Directory Category
23
- <% end %>
24
- </div>
25
- </div>
26
- </div>
27
- <!-- Page Header -->
28
-
29
8
  <!-- Page Content -->
30
- <div class="wrapper wrapper-content animated fadeInRight">
31
- <div class="row">
32
- <div class="col-lg-12">
33
-
34
- <div class="ibox float-e-margins">
35
- <div class="ibox-title">
36
- <h5><%= yield(:phc_title_tagline) %></h5>
37
- <div class="ibox-tools">
38
- <a class="collapse-link">
39
- <i class="fa fa-chevron-up"></i>
40
- </a>
41
- <a class="close-link">
42
- <i class="fa fa-times"></i>
43
- </a>
44
- </div>
45
- </div>
46
- <div class="ibox-content">
47
- <ul class="list-group">
48
- <% @directory_categories.each do |directory_category| %>
49
- <li class="list-group-item">
50
- <span class="badge badge-default badge-roundless"><%= directory_category.listings.count %></span></span>
51
- <%= link_to directory_category.catname, directory_category %>
52
- </li>
53
- <% end %>
54
- </ul>
55
- </div>
56
- </div>
57
-
9
+ <div class="panel panel-inverse">
10
+ <div class="panel-heading">
11
+ <div class="panel-heading-btn">
12
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
13
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
14
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
15
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
58
16
  </div>
17
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
18
+ </div>
19
+ <div class="panel-body">
20
+ <!-- Un-Ordered List - Listing Categories -->
21
+ <ul class="list-group">
22
+ <% @directory_categories.each do |directory_category| %>
23
+ <li class="list-group-item">
24
+ <span class="badge badge-default badge-roundless"><%= directory_category.listings.count %></span></span>
25
+ <%= link_to directory_category.catname, directory_category %>
26
+ </li>
27
+ <% end %>
28
+ </ul>
29
+ <!-- Un-Ordered List - Listing Categories -->
59
30
  </div>
60
31
  </div>
61
32
  <!-- Page Content -->
@@ -6,51 +6,19 @@
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
7
  <!-- Title System -->
8
8
 
9
- <!-- Page Header -->
10
- <div class="row wrapper border-bottom white-bg page-heading">
11
- <div class="col-sm-8">
12
- <h2><%= yield(:phc_title) %></h2>
13
- <!-- Bread Crumb -->
14
- <ol class="breadcrumb">
15
- <li><%= yield(:phc_breadcrumb_one) %></li>
16
- <li><%= yield(:phc_breadcrumb_two) %></li>
17
- <li class="active"><%= yield(:phc_breadcrumb_three) %></li>
18
- </ol>
19
- <!-- Bread Crumb -->
20
- </div>
21
- <div class="col-sm-4">
22
- <div class="title-action">
23
- <%= link_to phcmemberspro.directory_categories_path, class: "btn btn-primary" do %>
24
- <i class="fa fa-sitemap"></i> Back to Category Index
25
- <% end %>
26
- </div>
27
- </div>
28
- </div>
29
- <!-- Page Header -->
30
-
31
9
  <!-- Page Content -->
32
- <div class="wrapper wrapper-content animated fadeInRight">
33
- <div class="row">
34
- <div class="col-lg-12">
35
-
36
- <div class="ibox float-e-margins">
37
- <div class="ibox-title">
38
- <h5><%= yield(:phc_title_tagline) %></h5>
39
- <div class="ibox-tools">
40
- <a class="collapse-link">
41
- <i class="fa fa-chevron-up"></i>
42
- </a>
43
- <a class="close-link">
44
- <i class="fa fa-times"></i>
45
- </a>
46
- </div>
47
- </div>
48
- <div class="ibox-content">
49
- <%= render 'form', directory_category: @directory_category %>
50
- </div>
51
- </div>
52
-
10
+ <div class="panel panel-inverse">
11
+ <div class="panel-heading">
12
+ <div class="panel-heading-btn">
13
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
14
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
15
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
16
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
53
17
  </div>
18
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
19
+ </div>
20
+ <div class="panel-body">
21
+ <%= render 'form', directory_category: @directory_category %>
54
22
  </div>
55
23
  </div>
56
24
  <!-- Page Content -->
@@ -1,45 +1,45 @@
1
- <%= form_for([@member_address.profile, @member_address], url: form_url) do |f| %>
1
+ <!-- PHCMembers Form - Address -->
2
+ <%= form_with(model: @member_address, local: true) do |phc_members_pro_member_address| %>
2
3
 
3
4
  <!-- PHCNotifi Render Validation -->
4
5
  <%= render 'phcnotifi/validations', :object => @member_address %>
6
+ <!-- PHCNotifi Render Validation -->
5
7
 
8
+ <!-- PHCMembers Fields - Address -->
6
9
  <div class="form-group field_with_errors">
7
- <label><%= f.label :mcaddressl1, "Address Line1" %></label>
8
- <%= f.text_field :mcaddressl1, class: "form-control", placeholder: "Address Line 1 - Street Address" %>
10
+ <%= phc_members_pro_member_address.label :mcaddressl1, "Address Line1" %>
11
+ <%= phc_members_pro_member_address.text_field :mcaddressl1, class: "form-control", placeholder: "Address Line 1 - Street Address" %>
9
12
  </div>
10
-
11
13
  <div class="form-group field_with_errors">
12
- <label><%= f.label :mcaddressl2, "Address Line2" %></label>
13
- <%= f.text_field :mcaddressl2, class: "form-control", placeholder: "Address Line 2 - Box - Suite - Floor" %>
14
+ <%= phc_members_pro_member_address.label :mcaddressl2, "Address Line2" %>
15
+ <%= phc_members_pro_member_address.text_field :mcaddressl2, class: "form-control", placeholder: "Address Line 2 - Box - Suite - Floor" %>
14
16
  </div>
15
-
16
17
  <div class="form-group field_with_errors">
17
- <label><%= f.label :mccity, "City" %></label>
18
- <%= f.text_field :mccity, class: "form-control", placeholder: "City" %>
18
+ <%= phc_members_pro_member_address.label :mccity, "City" %>
19
+ <%= phc_members_pro_member_address.text_field :mccity, class: "form-control", placeholder: "City" %>
19
20
  </div>
20
-
21
21
  <div class="form-group field_with_errors">
22
- <label><%= f.label :mcprovince, "Province/State" %></label>
23
- <%= f.text_field :mcprovince, class: "form-control", placeholder: "Province/State" %>
22
+ <%= phc_members_pro_member_address.label :mcprovince, "Province/State" %>
23
+ <%= phc_members_pro_member_address.text_field :mcprovince, class: "form-control", placeholder: "Province/State" %>
24
24
  </div>
25
-
26
25
  <div class="form-group field_with_errors">
27
- <label><%= f.label :mccountry, "Country" %></label>
26
+ <%= phc_members_pro_member_address.label :mccountry, "Country" %>
28
27
  <%= country_select("member_address", "mccountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
29
28
  </div>
30
-
31
29
  <div class="form-group field_with_errors">
32
- <label><%= f.label :mcpostalcode, "PostalCode" %></label>
33
- <%= f.text_field :mcpostalcode, class: "form-control", placeholder: "PostalCode" %>
30
+ <%= phc_members_pro_member_address.label :mcpostalcode, "PostalCode" %>
31
+ <%= phc_members_pro_member_address.text_field :mcpostalcode, class: "form-control", placeholder: "PostalCode" %>
34
32
  </div>
35
-
36
- <div class="form-group">
37
- <label><%= f.label :mctype, "Address Type" %></label>
38
- <%= f.select :mctype, [['Billing Address','Billing'],['Street Address','Street'],['Mailing Address','Mailing'],['Home Address','Home'],['Business Address','Business']], {}, class: "form-control" %>
33
+ <div class="form-group field_with_errors">
34
+ <%= phc_members_pro_member_address.label :mctype, "Address Type" %>
35
+ <%= phc_members_pro_member_address.select :mctype, [['Billing Address','Billing'],['Street Address','Street'],['Mailing Address','Mailing'],['Home Address','Home'],['Business Address','Business']], {}, class: "form-control" %>
39
36
  </div>
40
-
37
+ <br>
41
38
  <div class="actions">
42
- <%= f.submit class: "btn blue-soft" %>
39
+ <%= phc_members_pro_member_address.submit class: "btn btn-primary btn-gradient waves-effect waves-light btn-md" %>
43
40
  </div>
41
+ <br>
42
+ <!-- PHCMembers Fields - Address -->
44
43
 
45
44
  <% end %>
45
+ <!-- PHCMembers Form - Address -->