phcmemberspro 57.0.0 → 58.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/phcmemberspro/application.js +17 -2
- data/app/assets/stylesheets/phcmemberspro/application.scss +1 -1
- data/app/controllers/phcmemberspro/member/profiles_controller.rb +3 -2
- data/app/views/layouts/phcmemberspro/application.html.erb +2 -2
- data/app/views/layouts/phcmemberspro/application_full_width.html.erb +82 -0
- data/app/views/layouts/phcmemberspro/components/backend/navigation/_top_menu.html.erb +1 -1
- data/app/views/layouts/phcmemberspro/components/backend/sidebars/_side_menu.html.erb +1 -1
- data/app/views/phcmemberspro/directory/categories/_form.html.erb +11 -7
- data/app/views/phcmemberspro/directory/categories/edit.html.erb +11 -43
- data/app/views/phcmemberspro/directory/categories/index.html.erb +20 -49
- data/app/views/phcmemberspro/directory/categories/new.html.erb +11 -43
- data/app/views/phcmemberspro/member/addresses/_form.html.erb +23 -23
- data/app/views/phcmemberspro/member/addresses/edit.html.erb +11 -43
- data/app/views/phcmemberspro/member/addresses/index.html.erb +37 -66
- data/app/views/phcmemberspro/member/addresses/new.html.erb +11 -43
- data/app/views/phcmemberspro/member/listings/_form.html.erb +31 -36
- data/app/views/phcmemberspro/member/listings/edit.html.erb +11 -43
- data/app/views/phcmemberspro/member/listings/index.html.erb +41 -70
- data/app/views/phcmemberspro/member/listings/new.html.erb +11 -43
- data/app/views/phcmemberspro/member/profiles/_form.html.erb +20 -14
- data/app/views/phcmemberspro/member/profiles/components/_profile_addresses_table.html.erb +1 -0
- data/app/views/phcmemberspro/member/profiles/components/{_profile_audits.html.erb → _profile_audits_table.html.erb} +0 -0
- data/app/views/phcmemberspro/member/profiles/components/_profile_header.html.erb +29 -0
- data/app/views/phcmemberspro/member/profiles/components/_profile_listings_table.html.erb +1 -0
- data/app/views/phcmemberspro/member/profiles/edit.html.erb +11 -42
- data/app/views/phcmemberspro/member/profiles/index.html.erb +33 -62
- data/app/views/phcmemberspro/member/profiles/new.html.erb +11 -42
- data/app/views/phcmemberspro/member/profiles/show.html.erb +74 -27
- data/lib/phcmemberspro/version.rb +1 -1
- metadata +5 -4
- 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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 987bce82f3377ff3817d60bcd427f6da01a0a05fa0f6c7eb8467cc4902955091
|
4
|
+
data.tar.gz: 9a3edf3780d6a14279cbfb01e5d8530f35f87d2c1eb3ef4b175bd497e80458e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd117846e2f8c82de785993f8cbc8aaa8b884e4251f8c5b816e51052571cf0d3beaa83ce483646c9813f6b0bb51e9fddccc991fdfb64f1d14db7e2013afc64b5
|
7
|
+
data.tar.gz: 72067784d7b72b8ee36a4651ddab4c3747733c3e3a7e83d39cf8c1c77c731fe770b250bb26d15a853cc847613609bdce969ae693e69e772d88e5cde8f9cc53e0
|
@@ -1,2 +1,17 @@
|
|
1
|
-
//
|
2
|
-
|
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 "
|
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 "
|
6
|
-
<% phc_seo_description "
|
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>
|
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>
|
@@ -1,17 +1,21 @@
|
|
1
|
-
|
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
|
-
|
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
|
-
<%=
|
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="
|
33
|
-
<div class="
|
34
|
-
<div class="
|
35
|
-
|
36
|
-
<
|
37
|
-
|
38
|
-
|
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="
|
31
|
-
<div class="
|
32
|
-
<div class="
|
33
|
-
|
34
|
-
<
|
35
|
-
|
36
|
-
|
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="
|
33
|
-
<div class="
|
34
|
-
<div class="
|
35
|
-
|
36
|
-
<
|
37
|
-
|
38
|
-
|
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
|
-
|
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
|
-
|
8
|
-
<%=
|
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
|
-
|
13
|
-
<%=
|
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
|
-
|
18
|
-
<%=
|
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
|
-
|
23
|
-
<%=
|
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
|
-
|
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
|
-
|
33
|
-
<%=
|
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
|
-
|
37
|
-
|
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
|
-
<%=
|
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 -->
|