phcdevworks_members 2.2.0 → 2.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/phcdevworks_members/application_controller.rb +9 -8
  3. data/app/views/layouts/phcdevworks_members/application.html.erb +6 -6
  4. data/app/views/phcdevworks_members/api/v1/categories/index.json.rabl +1 -1
  5. data/app/views/phcdevworks_members/api/v1/listings/index.json.rabl +1 -1
  6. data/app/views/phcdevworks_members/directory/categories/_form.html.erb +3 -3
  7. data/app/views/phcdevworks_members/directory/categories/edit.html.erb +27 -15
  8. data/app/views/phcdevworks_members/directory/categories/index.html.erb +49 -38
  9. data/app/views/phcdevworks_members/directory/categories/new.html.erb +27 -15
  10. data/app/views/phcdevworks_members/member/addresses/_form.html.erb +9 -3
  11. data/app/views/phcdevworks_members/member/addresses/edit.html.erb +27 -15
  12. data/app/views/phcdevworks_members/member/addresses/index.html.erb +74 -60
  13. data/app/views/phcdevworks_members/member/addresses/new.html.erb +27 -15
  14. data/app/views/phcdevworks_members/member/listings/_form.html.erb +14 -3
  15. data/app/views/phcdevworks_members/member/listings/edit.html.erb +27 -15
  16. data/app/views/phcdevworks_members/member/listings/index.html.erb +76 -62
  17. data/app/views/phcdevworks_members/member/listings/new.html.erb +27 -15
  18. data/app/views/phcdevworks_members/member/profiles/_form.html.erb +6 -1
  19. data/app/views/phcdevworks_members/member/profiles/edit.html.erb +27 -15
  20. data/app/views/phcdevworks_members/member/profiles/index.html.erb +63 -49
  21. data/app/views/phcdevworks_members/member/profiles/new.html.erb +27 -15
  22. data/lib/phcdevworks_members/engine.rb +21 -28
  23. data/lib/phcdevworks_members/version.rb +1 -1
  24. metadata +16 -2
@@ -1,10 +1,10 @@
1
- <!-- Title Variables -->
1
+ <!-- PHCTitleSEO Title Variables -->
2
2
  <% phc_title "Member Address Manager" %>
3
3
  <% phc_title_tagline "Create a New Address for " + @member_profile.member_profile_first_name + " " + @member_profile.member_profile_last_name %>
4
4
  <% phc_breadcrumb_one link_to "Members List", phcdevworks_members.member_profiles_path %>
5
5
  <% phc_breadcrumb_two link_to "Addresses for " + @member_profile.member_profile_first_name + " " + @member_profile.member_profile_last_name, phcdevworks_members.member_profile_addresses_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- PHCTitleSEO Title Variables -->
8
8
 
9
9
  <!-- Page Bradcrumbs -->
10
10
  <ol class="breadcrumb pull-right">
@@ -15,23 +15,35 @@
15
15
  <!-- Page Bradcrumbs -->
16
16
 
17
17
  <!-- Page Header -->
18
- <h1 class="page-header"><%= yield(:phc_title) %></h1>
18
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
19
19
  <!-- Page Header -->
20
20
 
21
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>
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+
25
+ <!-- Panel -->
26
+ <div class="panel panel-inverse">
27
+
28
+ <!-- Panel - Heading -->
29
+ <div class="panel-heading">
30
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
31
+ </div>
32
+ <!-- Panel - Heading -->
33
+
34
+ <!-- Panel - Body -->
35
+ <div class="panel-body">
36
+
37
+ <!-- New Form -->
38
+ <%= render "form", { form_url: member_profile_addresses_path } %>
39
+ <!-- New Form -->
40
+
41
+ </div>
42
+ <!-- Panel - Body -->
43
+
28
44
  </div>
29
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
30
- </div>
31
- <div class="panel-body">
32
- <!-- Form for New Member Address -->
33
- <%= render 'form', { form_url: member_profile_addresses_path } %>
34
- <!-- Form for New Member Address -->
45
+ <!-- Panel -->
46
+
35
47
  </div>
36
48
  </div>
37
49
  <!-- Page Content -->
@@ -1,4 +1,4 @@
1
- <!-- Form - Member - Listing -->
1
+ <!-- Form - Member - Listings -->
2
2
  <%= form_with(model: [ @member_profile, @member_listing], url: form_url, local: true) do |form| %>
3
3
 
4
4
  <!-- PHCNotifi Render Validation -->
@@ -10,46 +10,57 @@
10
10
  <%= form.label :listing_company_name, "Company Name" %>
11
11
  <%= form.text_field :listing_company_name, placeholder: "Business/Organization: Name", class: "form-control" %>
12
12
  </div>
13
+
13
14
  <div class="form-group field_with_errors">
14
15
  <%= form.label :listing_contact_name, "Contact Name" %>
15
16
  <%= form.text_field :listing_contact_name, placeholder: "Business/Organization: Contact Person", class: "form-control" %>
16
17
  </div>
18
+
17
19
  <div class="form-group field_with_errors">
18
20
  <%= form.label :listing_address_line_1, "Address Line 1" %>
19
21
  <%= form.text_field :listing_address_line_1, placeholder: "Location: Street Address", class: "form-control" %>
20
22
  </div>
23
+
21
24
  <div class="form-group field_with_errors">
22
25
  <%= form.label :listing_address_line_2, "Address Line 2" %>
23
26
  <%= form.text_field :listing_address_line_2, placeholder: "Location: Box - Suite - Floor", class: "form-control" %>
24
27
  </div>
28
+
25
29
  <div class="form-group field_with_errors">
26
30
  <%= form.label :listing_city, "City" %>
27
31
  <%= form.text_field :listing_city, placeholder: "Location: City", class: "form-control" %>
28
32
  </div>
33
+
29
34
  <div class="form-group field_with_errors">
30
35
  <%= form.label :listing_province, "Province/State" %>
31
36
  <%= form.text_field :listing_province, placeholder: "Location: Province/State", class: "form-control" %>
32
37
  </div>
38
+
33
39
  <div class="form-group field_with_errors">
34
40
  <%= form.label :listing_country, "Country" %>
35
41
  <%= form.text_field :listing_country, placeholder: "Country", class: "form-control" %>
36
42
  </div>
43
+
37
44
  <div class="form-group field_with_errors">
38
45
  <%= form.label :listing_postal_code, "Postal Code" %><br>
39
46
  <%= form.text_field :listing_postal_code, placeholder: "Location: PostalCode", class: "form-control" %>
40
47
  </div>
48
+
41
49
  <div class="form-group field_with_errors">
42
50
  <%= form.label :listing_phone, "Business Phone Number" %>
43
51
  <%= form.text_field :listing_phone, placeholder: "Business/Organization: PhoneNumber (Public)", class: "form-control" %>
44
52
  </div>
53
+
45
54
  <div class="form-group field_with_errors">
46
55
  <%= form.label :listing_contact_email, "Business General Email" %>
47
56
  <%= form.text_field :listing_contact_email, placeholder: "Business/Organization: Email Address (Public)", class: "form-control" %>
48
57
  </div>
58
+
49
59
  <div class="form-group field_with_errors">
50
60
  <%= form.label :listing_website, "Business Website" %>
51
61
  <%= form.text_field :listing_website, placeholder: "Business/Organization: Website (Public)", class: "form-control" %>
52
62
  </div>
63
+
53
64
  <div class="form-group field_with_errors">
54
65
  <%= form.collection_check_boxes :category_ids, PhcdevworksMembers::Directory::Category.all, :id, :category_name do |listing_category| %>
55
66
  <%= listing_category.check_box %>
@@ -60,9 +71,9 @@
60
71
 
61
72
  <!-- Form Submition Button -->
62
73
  <div class="actions">
63
- <%= form.submit class: "btn btn-primary btn-md" %>
74
+ <%= form.submit class: "btn btn-primary" %>
64
75
  </div>
65
76
  <!-- For Submition Button -->
66
77
 
67
78
  <% end %>
68
- <!-- Form - Member - Listing -->
79
+ <!-- Form - Member - Listings -->
@@ -1,10 +1,10 @@
1
- <!-- Title Variables -->
1
+ <!-- PHCTitleSEO Title Variables -->
2
2
  <% phc_title "Member Listing Manager" %>
3
3
  <% phc_title_tagline "Update Listing for " + @member_profile.member_profile_first_name + " " + @member_profile.member_profile_last_name %>
4
4
  <% phc_breadcrumb_one link_to "Members List", phcdevworks_members.member_profiles_path %>
5
5
  <% phc_breadcrumb_two link_to "Listings for " + @member_profile.member_profile_first_name + " " + @member_profile.member_profile_last_name, phcdevworks_members.member_profile_listings_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- PHCTitleSEO Title Variables -->
8
8
 
9
9
  <!-- Page Bradcrumbs -->
10
10
  <ol class="breadcrumb pull-right">
@@ -15,23 +15,35 @@
15
15
  <!-- Page Bradcrumbs -->
16
16
 
17
17
  <!-- Page Header -->
18
- <h1 class="page-header"><%= yield(:phc_title) %></h1>
18
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
19
19
  <!-- Page Header -->
20
20
 
21
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>
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+
25
+ <!-- Panel -->
26
+ <div class="panel panel-inverse">
27
+
28
+ <!-- Panel - Heading -->
29
+ <div class="panel-heading">
30
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
31
+ </div>
32
+ <!-- Panel - Heading -->
33
+
34
+ <!-- Panel - Body -->
35
+ <div class="panel-body">
36
+
37
+ <!-- Edit Form -->
38
+ <%= render "form", { form_url: member_profile_listing_path } %>
39
+ <!-- Edit Form -->
40
+
41
+ </div>
42
+ <!-- Panel - Body -->
43
+
28
44
  </div>
29
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
30
- </div>
31
- <div class="panel-body">
32
- <!-- Form to Edit Member Listing -->
33
- <%= render 'form', { form_url: member_profile_listing_path } %>
34
- <!-- Form to Edit Member Listing -->
45
+ <!-- Panel -->
46
+
35
47
  </div>
36
48
  </div>
37
49
  <!-- Page Content -->
@@ -1,78 +1,92 @@
1
- <!-- Title Variables -->
1
+ <!-- PHCTitleSEO Title Variables -->
2
2
  <% phc_title "Member Listings Manager" %>
3
3
  <% phc_title_tagline "Listings for " + @member_profile.member_profile_first_name + " " + @member_profile.member_profile_last_name %>
4
4
  <% phc_breadcrumb_one link_to "Members List", phcdevworks_members.member_profiles_path %>
5
5
  <% phc_breadcrumb_two link_to @member_profile.member_profile_first_name + " " + @member_profile.member_profile_last_name + " Details", phcdevworks_members.member_profile_path(@member_profile) %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- PHCTitleSEO Title Variables -->
8
8
 
9
9
  <!-- Page Bradcrumbs -->
10
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>
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
14
  </ol>
15
15
  <!-- Page Bradcrumbs -->
16
16
 
17
17
  <!-- Page Header -->
18
- <h1 class="page-header"><%= yield(:phc_title) %></h1>
18
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
19
19
  <!-- Page Header -->
20
20
 
21
- <!-- Page & Panel Content -->
22
- <div class="panel panel-inverse">
23
- <!-- Panel Heading -->
24
- <div class="panel-heading">
25
- <div class="panel-heading-btn">
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
27
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
28
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
29
- </div>
30
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
31
- </div>
32
- <!-- Panel Heading -->
33
- <!-- Panel Body -->
34
- <div class="panel-body">
35
- <!-- Table - Member - Listings - Index -->
36
- <div class="table-responsive">
37
- <table class="table table-striped table-bordered">
38
- <thead>
39
- <tr>
40
- <th>Company Name</th>
41
- <th>Conact Name</th>
42
- <th>City</th>
43
- <th>Country</th>
44
- <th>Listing Email</th>
45
- <th>Listing Website</th>
46
- <th></th>
47
- </tr>
48
- </thead>
49
- <tbody>
50
- <% @member_listings.each do |member_listing| %>
51
- <tr>
52
- <td class="highlight"><%= link_to member_listing.listing_company_name, member_profile_listing_path(member_listing.profile, member_listing) %></td>
53
- <td class="highlight"><%= link_to member_listing.listing_contact_name, member_profile_listing_path(member_listing.profile, member_listing) %></td>
54
- <td class="highlight"><%= link_to member_listing.listing_city, member_profile_listing_path(member_listing.profile, member_listing) %></td>
55
- <td class="highlight"><%= link_to member_listing.listing_province, member_profile_listing_path(member_listing.profile, member_listing) %></td>
56
- <td class="highlight"><%= link_to member_listing.listing_contact_email, member_profile_listing_path(member_listing.profile, member_listing) %></td>
57
- <td class="highlight"><%= link_to member_listing.listing_website, member_profile_listing_path(member_listing.profile, member_listing) %></td>
58
- <td>
59
- <div class="btn-group d-flex" role="group">
60
- <%= link_to 'Details', member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-primary btn-xs" %>
61
- <%= link_to 'Update', edit_member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-purple btn-xs" %>
62
- <%= 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 listing information and cannot be reversed.' } %>
63
- </div>
64
- </td>
65
- </tr>
66
- <% end %>
67
- </tbody>
68
- </table>
69
- <%= link_to phcdevworks_members.new_member_profile_listing_path, class: "btn btn-primary btn-sm" do %>
70
- <i class="fas fa-plus-circle"></i>
71
- <%= "Add a New Listing for " + @member_profile .member_profile_first_name + " " + @member_profile .member_profile_last_name %>
72
- <% end %>
21
+ <!-- Page Content -->
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+
25
+ <!-- Panel -->
26
+ <div class="panel panel-inverse">
27
+
28
+ <!-- Panel - Heading -->
29
+ <div class="panel-heading">
30
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
31
+ </div>
32
+ <!-- Panel - Heading -->
33
+
34
+ <!-- Panel - Body -->
35
+ <div class="panel-body">
36
+
37
+ <!-- Index - Table -->
38
+ <div class="table-responsive">
39
+ <table class="table table-striped table-bordered">
40
+
41
+ <thead>
42
+ <tr>
43
+ <th>Company Name</th>
44
+ <th>Conact Name</th>
45
+ <th>City</th>
46
+ <th>Country</th>
47
+ <th>Listing Email</th>
48
+ <th>Listing Website</th>
49
+ <th></th>
50
+ </tr>
51
+ </thead>
52
+
53
+ <tbody>
54
+ <% @member_listings.each do |member_listing| %>
55
+ <tr>
56
+ <td class="highlight"><%= link_to member_listing.listing_company_name, member_profile_listing_path(member_listing.profile, member_listing) %></td>
57
+ <td class="highlight"><%= link_to member_listing.listing_contact_name, member_profile_listing_path(member_listing.profile, member_listing) %></td>
58
+ <td class="highlight"><%= link_to member_listing.listing_city, member_profile_listing_path(member_listing.profile, member_listing) %></td>
59
+ <td class="highlight"><%= link_to member_listing.listing_province, member_profile_listing_path(member_listing.profile, member_listing) %></td>
60
+ <td class="highlight"><%= link_to member_listing.listing_contact_email, member_profile_listing_path(member_listing.profile, member_listing) %></td>
61
+ <td class="highlight"><%= link_to member_listing.listing_website, member_profile_listing_path(member_listing.profile, member_listing) %></td>
62
+ <td>
63
+ <div class="btn-group d-flex" role="group">
64
+ <%= link_to "Listing Details", member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-primary btn-xs" %>
65
+ <%= link_to "Update Listing", edit_member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-purple btn-xs" %>
66
+ <%= link_to "Remove Listing", 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 listing information and cannot be reversed." } %>
67
+ </div>
68
+ </td>
69
+ </tr>
70
+ <% end %>
71
+ </tbody>
72
+
73
+ </table>
74
+ </div>
75
+ <!-- Index - Table -->
76
+
77
+ <!-- New Button -->
78
+ <%= link_to phcdevworks_members.new_member_profile_listing_path, class: "btn btn-primary btn-sm" do %>
79
+ <i class="fad fa-plus-circle"></i>
80
+ <%= "Add a New Listing for " + @member_profile .member_profile_first_name + " " + @member_profile .member_profile_last_name %>
81
+ <% end %>
82
+ <!-- New Button -->
83
+
84
+ </div>
85
+ <!-- Panel - Body -->
86
+
73
87
  </div>
74
- <!-- Table - Member - Listings - Index -->
75
- </div>
76
- <!-- Panel Body -->
88
+ <!-- Panel -->
89
+
90
+ </div>
77
91
  </div>
78
- <!-- Page & Panel Content -->
92
+ <!-- Page Content -->
@@ -1,10 +1,10 @@
1
- <!-- Title Variables -->
1
+ <!-- PHCTitleSEO Title Variables -->
2
2
  <% phc_title "Member Listing Manager" %>
3
3
  <% phc_title_tagline "Create a New Listing for " + @member_profile.member_profile_first_name + " " + @member_profile.member_profile_last_name %>
4
4
  <% phc_breadcrumb_one link_to "Members List", phcdevworks_members.member_profiles_path %>
5
5
  <% phc_breadcrumb_two link_to "Listings for " + @member_profile.member_profile_first_name + " " + @member_profile.member_profile_last_name, phcdevworks_members.member_profile_listings_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- PHCTitleSEO Title Variables -->
8
8
 
9
9
  <!-- Page Bradcrumbs -->
10
10
  <ol class="breadcrumb pull-right">
@@ -15,23 +15,35 @@
15
15
  <!-- Page Bradcrumbs -->
16
16
 
17
17
  <!-- Page Header -->
18
- <h1 class="page-header"><%= yield(:phc_title) %></h1>
18
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
19
19
  <!-- Page Header -->
20
20
 
21
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>
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+
25
+ <!-- Panel -->
26
+ <div class="panel panel-inverse">
27
+
28
+ <!-- Panel - Heading -->
29
+ <div class="panel-heading">
30
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
31
+ </div>
32
+ <!-- Panel - Heading -->
33
+
34
+ <!-- Panel - Body -->
35
+ <div class="panel-body">
36
+
37
+ <!-- New Form -->
38
+ <%= render "form", { form_url: member_profile_listings_path } %>
39
+ <!-- New Form -->
40
+
41
+ </div>
42
+ <!-- Panel - Body -->
43
+
28
44
  </div>
29
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
30
- </div>
31
- <div class="panel-body">
32
- <!-- Form for New Member Listings -->
33
- <%= render 'form', { form_url: member_profile_listings_path } %>
34
- <!-- Form for New Member Listings -->
45
+ <!-- Panel -->
46
+
35
47
  </div>
36
48
  </div>
37
49
  <!-- Page Content -->
@@ -10,22 +10,27 @@
10
10
  <%= form.label :member_profile_first_name, "First Name*" %>
11
11
  <%= form.text_field :member_profile_first_name, placeholder: "First Name", class: "form-control" %>
12
12
  </div>
13
+
13
14
  <div class="form-group field_with_errors">
14
15
  <%= form.label :member_profile_last_name, "Last Name*" %>
15
16
  <%= form.text_field :member_profile_last_name, placeholder: "Last Name", class: "form-control" %>
16
17
  </div>
18
+
17
19
  <div class="form-group field_with_errors">
18
20
  <%= form.label :member_profile_title, "Job Title" %>
19
21
  <%= form.text_field :member_profile_title, placeholder: "Job Title/Salutation", class: "form-control" %>
20
22
  </div>
23
+
21
24
  <div class="form-group field_with_errors">
22
25
  <%= form.label :member_profile_email, "Contact Email Address*" %>
23
26
  <%= form.text_field :member_profile_email, placeholder: "Contact Email (Will Remain Private)", class: "form-control masked" %>
24
27
  </div>
28
+
25
29
  <div class="form-group field_with_errors">
26
30
  <%= form.label :member_profile_phone, "Contact Phone Number*" %>
27
31
  <%= form.text_field :member_profile_phone, placeholder: "Contact Phone Number (Will Remain Private)", data: {format: "(999) 999-9999", placeholder: "x"}, class: "form-control masked" %>
28
32
  </div>
33
+
29
34
  <div class="form-group field_with_errors">
30
35
  <%= form.label :member_profile_notes, "Member" %>
31
36
  <%= form.text_area :member_profile_notes, placeholder: "Member Notes", class: "form-control" %>
@@ -34,7 +39,7 @@
34
39
 
35
40
  <!-- Form Submition Button -->
36
41
  <div class="actions">
37
- <%= form.submit class: "btn btn-primary btn-md" %>
42
+ <%= form.submit class: "btn btn-primary" %>
38
43
  </div>
39
44
  <!-- For Submition Button -->
40
45
 
@@ -1,10 +1,10 @@
1
- <!-- Title System -->
1
+ <!-- PHCTitleSEO Title Variables -->
2
2
  <% phc_title "Members Manager" %>
3
3
  <% phc_title_tagline "Update Member Information for " + @member_profile.member_profile_first_name + " " + @member_profile.member_profile_last_name %>
4
4
  <% phc_breadcrumb_one link_to "Dashboard", phcdevworks_members.dashboard_path %>
5
5
  <% phc_breadcrumb_two link_to "Member Profiles", phcdevworks_members.member_profiles_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- PHCTitleSEO Title Variables -->
8
8
 
9
9
  <!-- Page Bradcrumbs -->
10
10
  <ol class="breadcrumb pull-right">
@@ -15,23 +15,35 @@
15
15
  <!-- Page Bradcrumbs -->
16
16
 
17
17
  <!-- Page Header -->
18
- <h1 class="page-header"><%= yield(:phc_title) %></h1>
18
+ <h2 class="page-header"><%= yield(:phc_title) %></h2>
19
19
  <!-- Page Header -->
20
20
 
21
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>
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+
25
+ <!-- Panel -->
26
+ <div class="panel panel-inverse">
27
+
28
+ <!-- Panel - Heading -->
29
+ <div class="panel-heading">
30
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
31
+ </div>
32
+ <!-- Panel - Heading -->
33
+
34
+ <!-- Panel - Body -->
35
+ <div class="panel-body">
36
+
37
+ <!-- Edit Form -->
38
+ <%= render "form", member_profile: @member_profile %>
39
+ <!-- Edit Form -->
40
+
41
+ </div>
42
+ <!-- Panel - Body -->
43
+
28
44
  </div>
29
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
30
- </div>
31
- <div class="panel-body">
32
- <!-- Form to Edit Member Profiles -->
33
- <%= render 'form', member_profile: @member_profile %>
34
- <!-- Form to Edit Member Profiles -->
45
+ <!-- Panel -->
46
+
35
47
  </div>
36
48
  </div>
37
49
  <!-- Page Content -->