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
@@ -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.member_profile_addresses_path, class: "btn btn-primary" do %>
|
24
|
-
<i class="fa fa-address-book"></i> <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %> Address 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', { form_url: member_profile_address_path } %>
|
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', { form_url: member_profile_listing_path } %>
|
54
22
|
</div>
|
55
23
|
</div>
|
56
24
|
<!-- Page Content -->
|
@@ -5,75 +5,46 @@
|
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
-
<!-- Page
|
9
|
-
<div class="
|
10
|
-
<div class="
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
<
|
15
|
-
<
|
16
|
-
</ol>
|
17
|
-
<!-- Bread Crumb -->
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4">
|
20
|
-
<div class="title-action">
|
21
|
-
<%= link_to phcmemberspro.new_member_profile_address_path, class: "btn btn-primary" do %>
|
22
|
-
<i class="fa fa-plus"></i> Creat a New Address for <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %>
|
23
|
-
<% end %>
|
8
|
+
<!-- Page Content -->
|
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>
|
24
16
|
</div>
|
17
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
25
18
|
</div>
|
26
|
-
|
27
|
-
<!--
|
28
|
-
|
29
|
-
|
30
|
-
<
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
<th>Country</th>
|
54
|
-
<th>PostalCode</th>
|
55
|
-
<th>Type</th>
|
56
|
-
<th></th>
|
57
|
-
</tr>
|
58
|
-
</thead>
|
59
|
-
<tbody>
|
60
|
-
<% @member_addresses.each do |member_address| %>
|
61
|
-
<tr>
|
62
|
-
<td><%= link_to member_address.mcaddressl1, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
|
63
|
-
<td><%= link_to member_address.mccity, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
|
64
|
-
<td><%= link_to member_address.mccountry, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
|
65
|
-
<td><%= link_to member_address.mcpostalcode, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
|
66
|
-
<td><%= link_to member_address.mctype, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
|
67
|
-
<td><%= link_to 'Remove', member_profile_address_path(member_address.profile, member_address), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove listing information and cannot be reversed.' } %></td>
|
68
|
-
</tr>
|
69
|
-
<% end %>
|
70
|
-
</tbody>
|
71
|
-
</table>
|
72
|
-
</div>
|
73
|
-
</div>
|
74
|
-
</div>
|
75
|
-
|
19
|
+
<div class="panel-body">
|
20
|
+
<!-- Table - Members Address -->
|
21
|
+
<div class="table-responsive">
|
22
|
+
<table class="table table-striped table-bordered table-hover">
|
23
|
+
<thead>
|
24
|
+
<tr>
|
25
|
+
<th>Address Line 1</th>
|
26
|
+
<th>City</th>
|
27
|
+
<th>Country</th>
|
28
|
+
<th>PostalCode</th>
|
29
|
+
<th>Type</th>
|
30
|
+
<th></th>
|
31
|
+
</tr>
|
32
|
+
</thead>
|
33
|
+
<tbody>
|
34
|
+
<% @member_addresses.each do |member_address| %>
|
35
|
+
<tr>
|
36
|
+
<td><%= link_to member_address.mcaddressl1, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
|
37
|
+
<td><%= link_to member_address.mccity, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
|
38
|
+
<td><%= link_to member_address.mccountry, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
|
39
|
+
<td><%= link_to member_address.mcpostalcode, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
|
40
|
+
<td><%= link_to member_address.mctype, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
|
41
|
+
<td><%= link_to 'Remove', member_profile_address_path(member_address.profile, member_address), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove listing information and cannot be reversed.' } %></td>
|
42
|
+
</tr>
|
43
|
+
<% end %>
|
44
|
+
</tbody>
|
45
|
+
</table>
|
76
46
|
</div>
|
47
|
+
<!-- Table - Members Address -->
|
77
48
|
</div>
|
78
49
|
</div>
|
79
50
|
<!-- 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.member_profile_addresses_path, class: "btn btn-primary" do %>
|
24
|
-
<i class="fa fa-address-book"></i> <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %> Address 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', { form_url: member_profile_addresses_path } %>
|
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', { form_url: member_profile_listings_path } %>
|
54
22
|
</div>
|
55
23
|
</div>
|
56
24
|
<!-- Page Content -->
|
@@ -1,72 +1,67 @@
|
|
1
|
-
|
1
|
+
<!-- PHCMembers Form - Web Directory Listings -->
|
2
|
+
<%= form_with(model: @member_listing, local: true) do |phc_members_pro_member_listings| %>
|
2
3
|
|
3
4
|
<!-- PHCNotifi Render Validation -->
|
4
5
|
<%= render 'phcnotifi/validations', :object => @member_listing %>
|
6
|
+
<!-- PHCNotifi Render Validation -->
|
5
7
|
|
8
|
+
<!-- PHCMembers Fields - Web Directory Listings -->
|
6
9
|
<div class="form-group field_with_errors">
|
7
|
-
<%=
|
8
|
-
<%=
|
10
|
+
<%= phc_members_pro_member_listings.label :mbcompanyname, "Company Name" %>
|
11
|
+
<%= phc_members_pro_member_listings.text_field :mbcompanyname, class: "form-control", placeholder: "Business/Organization: Name" %>
|
9
12
|
</div>
|
10
|
-
|
11
13
|
<div class="form-group field_with_errors">
|
12
|
-
<%=
|
13
|
-
<%=
|
14
|
+
<%= phc_members_pro_member_listings.label :mbcontactname, "Contact Name" %>
|
15
|
+
<%= phc_members_pro_member_listings.text_field :mbcontactname, class: "form-control", placeholder: "Business/Organization: Contact Person" %>
|
14
16
|
</div>
|
15
|
-
|
16
17
|
<div class="form-group field_with_errors">
|
17
|
-
<%=
|
18
|
-
<%=
|
18
|
+
<%= phc_members_pro_member_listings.label :mbaddressl1, "Address Line 1" %>
|
19
|
+
<%= phc_members_pro_member_listings.text_field :mbaddressl1, class: "form-control", placeholder: "Location: Street Address" %>
|
19
20
|
</div>
|
20
|
-
|
21
21
|
<div class="form-group field_with_errors">
|
22
|
-
<%=
|
23
|
-
<%=
|
22
|
+
<%= phc_members_pro_member_listings.label :mbaddressl2, "Address Line 2" %>
|
23
|
+
<%= phc_members_pro_member_listings.text_field :mbaddressl2, class: "form-control", placeholder: "Location: Box - Suite - Floor" %>
|
24
24
|
</div>
|
25
|
-
|
26
25
|
<div class="form-group field_with_errors">
|
27
|
-
<%=
|
28
|
-
<%=
|
26
|
+
<%= phc_members_pro_member_listings.label :mbcity, "City" %>
|
27
|
+
<%= phc_members_pro_member_listings.text_field :mbcity, class: "form-control", placeholder: "Location: City" %>
|
29
28
|
</div>
|
30
|
-
|
31
29
|
<div class="form-group field_with_errors">
|
32
|
-
<%=
|
33
|
-
<%=
|
30
|
+
<%= phc_members_pro_member_listings.label :mbprovince, "Province/State" %>
|
31
|
+
<%= phc_members_pro_member_listings.text_field :mbprovince, class: "form-control", placeholder: "Location: Province/State" %>
|
34
32
|
</div>
|
35
|
-
|
36
33
|
<div class="form-group field_with_errors">
|
37
|
-
<%=
|
34
|
+
<%= phc_members_pro_member_listings.label :mbcountry, "Country" %>
|
38
35
|
<%= country_select("member_listing", "mbcountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
|
39
36
|
</div>
|
40
|
-
|
41
37
|
<div class="form-group field_with_errors">
|
42
|
-
<%=
|
43
|
-
<%=
|
38
|
+
<%= phc_members_pro_member_listings.label :mbpostalcode, "Postal Code" %><br>
|
39
|
+
<%= phc_members_pro_member_listings.text_field :mbpostalcode, class: "form-control", placeholder: "Location: PostalCode" %>
|
44
40
|
</div>
|
45
|
-
|
46
41
|
<div class="form-group field_with_errors">
|
47
|
-
<%=
|
48
|
-
<%=
|
42
|
+
<%= phc_members_pro_member_listings.label :mbphone, "Business Phone Number" %>
|
43
|
+
<%= phc_members_pro_member_listings.text_field :mbphone, class: "form-control", placeholder: "Business/Organization: PhoneNumber (Public)" %>
|
49
44
|
</div>
|
50
|
-
|
51
45
|
<div class="form-group field_with_errors">
|
52
|
-
<%=
|
53
|
-
<%=
|
46
|
+
<%= phc_members_pro_member_listings.label :mbcontactemail, "Business General Email" %>
|
47
|
+
<%= phc_members_pro_member_listings.text_field :mbcontactemail, class: "form-control", placeholder: "Business/Organization: Email Address (Public)" %>
|
54
48
|
</div>
|
55
|
-
|
56
49
|
<div class="form-group field_with_errors">
|
57
|
-
<%=
|
58
|
-
<%=
|
50
|
+
<%= phc_members_pro_member_listings.label :mbwebsite, "Business Website" %>
|
51
|
+
<%= phc_members_pro_member_listings.text_field :mbwebsite, class: "form-control", placeholder: "Business/Organization: Website (Public)" %>
|
59
52
|
</div>
|
60
|
-
|
61
53
|
<div class="form-group field_with_errors">
|
62
|
-
<%=
|
54
|
+
<%= phc_members_pro_member_listings.collection_check_boxes :category_ids, Phcmemberspro::Directory::Category.all, :id, :catname do |listing_category| %>
|
63
55
|
<%= listing_category.check_box %>
|
64
56
|
<%= listing_category.label %></br>
|
65
57
|
<% end %>
|
66
58
|
</div>
|
67
|
-
|
59
|
+
<br>
|
68
60
|
<div class="actions">
|
69
|
-
<%=
|
61
|
+
<%= phc_members_pro_member_listings.submit class: "btn btn-primary btn-gradient waves-effect waves-light btn-md" %>
|
70
62
|
</div>
|
63
|
+
<br>
|
64
|
+
<!-- PHCMembers Fields - Web Directory Listings -->
|
71
65
|
|
72
66
|
<% end %>
|
67
|
+
<!-- PHCMembers Form - Web Directory Listings -->
|
@@ -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.member_profile_listings_path, class: "btn btn-primary" do %>
|
24
|
-
<i class="fa fa-address-card"></i> <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %> Listing 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', { form_url: member_profile_listing_path } %>
|
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', { form_url: member_profile_address_path } %>
|
54
22
|
</div>
|
55
23
|
</div>
|
56
24
|
<!-- Page Content -->
|
@@ -5,79 +5,50 @@
|
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
-
<!-- Page
|
9
|
-
<div class="
|
10
|
-
<div class="
|
11
|
-
<
|
12
|
-
|
13
|
-
|
14
|
-
<
|
15
|
-
<
|
16
|
-
</ol>
|
17
|
-
<!-- Bread Crumb -->
|
18
|
-
</div>
|
19
|
-
<div class="col-sm-4">
|
20
|
-
<div class="title-action">
|
21
|
-
<%= link_to new_member_profile_listing_path, class: "btn btn-primary" do %>
|
22
|
-
<i class="fa fa-plus"></i> Create a New Listing for <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %>
|
23
|
-
<% end %>
|
8
|
+
<!-- Page Content -->
|
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>
|
24
16
|
</div>
|
17
|
+
<h4 class="panel-title"><%= yield(:phc_title) %></h4>
|
25
18
|
</div>
|
26
|
-
|
27
|
-
<!--
|
28
|
-
|
29
|
-
|
30
|
-
<
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
<
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
<
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
<th>Listing Website</th>
|
58
|
-
<th></th>
|
59
|
-
</tr>
|
60
|
-
</thead>
|
61
|
-
<tbody>
|
62
|
-
<% @member_listings.each do |member_listing| %>
|
63
|
-
<tr>
|
64
|
-
<td class="highlight"><%= link_to member_listing.mbcompanyname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
65
|
-
<td class="highlight"><%= link_to member_listing.mbcontactname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
66
|
-
<td class="highlight"><%= link_to member_listing.mbcity, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
67
|
-
<td class="highlight"><%= link_to member_listing.mbcountry, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
68
|
-
<td class="highlight"><%= link_to member_listing.mbphone, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
69
|
-
<td class="highlight"><%= link_to member_listing.mbcontactemail, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
70
|
-
<td class="highlight"><%= link_to member_listing.mbwebsite, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
71
|
-
<td><%= link_to 'Remove', member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove address information and cannot be reversed.' } %></td>
|
72
|
-
</tr>
|
73
|
-
<% end %>
|
74
|
-
</tbody>
|
75
|
-
</table>
|
76
|
-
</div>
|
77
|
-
</div>
|
78
|
-
</div>
|
79
|
-
|
19
|
+
<div class="panel-body">
|
20
|
+
<!-- Table - Members Listings -->
|
21
|
+
<div class="table-responsive">
|
22
|
+
<table class="table table-striped table-bordered table-hover">
|
23
|
+
<thead class="thead-inverse">
|
24
|
+
<tr>
|
25
|
+
<th>Company Name</th>
|
26
|
+
<th>Conact Name</th>
|
27
|
+
<th>City</th>
|
28
|
+
<th>Country</th>
|
29
|
+
<th>Listing Phone</th>
|
30
|
+
<th>Listing Email</th>
|
31
|
+
<th>Listing Website</th>
|
32
|
+
<th></th>
|
33
|
+
</tr>
|
34
|
+
</thead>
|
35
|
+
<tbody>
|
36
|
+
<% @member_listings.each do |member_listing| %>
|
37
|
+
<tr>
|
38
|
+
<td class="highlight"><%= link_to member_listing.mbcompanyname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
39
|
+
<td class="highlight"><%= link_to member_listing.mbcontactname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
40
|
+
<td class="highlight"><%= link_to member_listing.mbcity, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
41
|
+
<td class="highlight"><%= link_to member_listing.mbcountry, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
42
|
+
<td class="highlight"><%= link_to member_listing.mbphone, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
43
|
+
<td class="highlight"><%= link_to member_listing.mbcontactemail, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
44
|
+
<td class="highlight"><%= link_to member_listing.mbwebsite, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
45
|
+
<td><%= link_to 'Remove', member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove address information and cannot be reversed.' } %></td>
|
46
|
+
</tr>
|
47
|
+
<% end %>
|
48
|
+
</tbody>
|
49
|
+
</table>
|
80
50
|
</div>
|
51
|
+
<!-- Table - Members Listings -->
|
81
52
|
</div>
|
82
53
|
</div>
|
83
54
|
<!-- Page Content -->
|