phcmembers 0.6.2 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b2c24574ecb3be391a7a48b9f02f6c081e026861
4
- data.tar.gz: a26c7560e81e31be6f1201b2b391f743170099e7
3
+ metadata.gz: 8345c2473d781125559fcdf9808a596832d23151
4
+ data.tar.gz: 69b99b1b6299682df25232ad6bfe530bc9263de9
5
5
  SHA512:
6
- metadata.gz: b3a7c2ad568301ced14a7d5a1d417878d1cd93d22aac281907dc3c178337be7f181d1bee85f469ce785d630981bd0c84ef8473f9d6bb537a06d674e0e2113903
7
- data.tar.gz: a2014ea293560204f5b9bbf4b9bdb2d1743cba8b6d79af08677c2cd89f82b4b377cd075bf9c9e04eefcc3786a90f20155de40414d4d853d24fb768a19b100224
6
+ metadata.gz: bcdbe0824f617b6363421c2fdff29866e03fd84140d59a22c2084307948471e6f352bed4747e91df6c2fb0f1f9f9fc1df99da6bb7fe47175d31c74d3ad121c75
7
+ data.tar.gz: 231b86369bc16bfd1df56f2634c270ba157a1c664bf9f705152c630bb555a6e203268250fcf4710fca64d559e60e58028b4729ac0c24ed43d0ec9410ccc6d414
data/README.md CHANGED
@@ -1,3 +1,32 @@
1
1
  [![security](https://hakiri.io/github/PHCNetworks/phc-members/master.svg)](https://hakiri.io/github/PHCNetworks/phc-members/master)
2
2
  [![Code Climate](https://codeclimate.com/github/PHCNetworks/phc-members/badges/gpa.svg)](https://codeclimate.com/github/PHCNetworks/phc-members)
3
3
  [![Gem Version](https://badge.fury.io/rb/phcmembers.svg)](https://badge.fury.io/rb/phcmembers)
4
+
5
+ ### PHC-Members (Membership Application) Documentation
6
+ PHCMembers helps you manage your members and membership directory.
7
+
8
+ #### Step 1 - Add PHC-Members to your gemfile
9
+
10
+ gem 'phcmembers', '~> 0.6.2'
11
+ bundle exec install
12
+
13
+ #### Step 2 - Add database migration files
14
+
15
+ rake railties:install:migrations
16
+ rake db:migrate
17
+
18
+ #### Step 3 - Mount PHC-Members in your Routes File
19
+ Mount the Engine in your Routes File
20
+
21
+ mount Phcmembers::Engine, :at => '/'
22
+
23
+ #### Step 4 - Generate Views
24
+ Generate views for customization and app integration.
25
+
26
+ rails generate phcmembers:views
27
+
28
+ #### Step 5 - Recompile Assets
29
+ PHC-Members UI requires bootstrap and fontawesome to operate.
30
+
31
+ rake assets:clobber
32
+ rake assets:precompile
@@ -1,13 +1,15 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>Phcmembers</title>
4
+ <title>PHCMembers - Members & Directory Manager</title>
5
5
  <%= stylesheet_link_tag "phcmembers/application", media: "all" %>
6
6
  <%= javascript_include_tag "phcmembers/application" %>
7
7
  <%= csrf_meta_tags %>
8
8
  </head>
9
9
  <body>
10
- <%= render 'layouts/phcmembers/elements/alerts/notifications' %>
11
- <%= yield %>
10
+ <div class="container">
11
+ <%= render 'layouts/phcnotifi/components/notifications' %>
12
+ <%= yield %>
13
+ </div>
12
14
  </body>
13
15
  </html>
@@ -1,14 +1,14 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>PHCMembers - Directory Manager</title>
4
+ <title>PHCMembers - Members & Directory Manager</title>
5
5
  <%= stylesheet_link_tag "phcmembers/application", media: "all" %>
6
6
  <%= javascript_include_tag "phcmembers/application" %>
7
7
  <%= csrf_meta_tags %>
8
8
  </head>
9
9
  <body>
10
10
  <div class="container">
11
- <%= render 'layouts/phcmembers/elements/alerts/notifications' %>
11
+ <%= render 'layouts/phcnotifi/components/notifications' %>
12
12
  <%= yield %>
13
13
  </div>
14
14
  </body>
@@ -1,14 +1,14 @@
1
1
  <!DOCTYPE html>
2
2
  <html>
3
3
  <head>
4
- <title>PHCMembers - Members Manager</title>
4
+ <title>PHCMembers - Members & Directory Manager</title>
5
5
  <%= stylesheet_link_tag "phcmembers/application", media: "all" %>
6
6
  <%= javascript_include_tag "phcmembers/application" %>
7
7
  <%= csrf_meta_tags %>
8
8
  </head>
9
9
  <body>
10
10
  <div class="container">
11
- <%= render 'layouts/phcmembers/elements/alerts/notifications' %>
11
+ <%= render 'layouts/phcnotifi/components/notifications' %>
12
12
  <%= yield %>
13
13
  </div>
14
14
  </body>
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+
5
+ <title>PHCNetworks Notifications</title>
6
+ <%= stylesheet_link_tag "phcnotifi/application", media: "all" %>
7
+ <%= javascript_include_tag "phcnotifi/application" %>
8
+ <%= csrf_meta_tags %>
9
+
10
+ </head>
11
+ <body data-no-turbolink="true">
12
+
13
+ <div class="container">
14
+ <%= render 'components/notifications' %>
15
+ <%= render 'components/validations' %>
16
+ <%= yield %>
17
+ </div>
18
+
19
+ </body>
20
+ </html>
@@ -0,0 +1,11 @@
1
+ <% if object.errors.any? %>
2
+ <div class="alert alert alert-danger alert-dismissible" role="alert">
3
+ <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>
4
+ <h4>The form contains <%= pluralize(object.errors.count, "error") %>.</h4>
5
+ <ul class="list-group">
6
+ <% object.errors.full_messages.each do |msg| %>
7
+ <li class="list-group-item list-group-item-danger borderless"><%= msg %></li>
8
+ <% end %>
9
+ </ul>
10
+ </div>
11
+ <% end %>
@@ -1,17 +1,9 @@
1
1
  <%= form_for(@directory_category) do |f| %>
2
+
3
+ <!-- PHC-Notifi Render Validation -->
4
+ <%= render 'layouts/phcnotifi/components/validations', :object => @directory_category %>
2
5
 
3
- <% if @directory_category.errors.any? %>
4
- <div id="error_explanation">
5
- <h2><%= pluralize(@directory_category.errors.count, "error") %> prohibited this directorylisting from being saved:</h2>
6
- <ul>
7
- <% @directory_category.errors.full_messages.each do |message| %>
8
- <li><%= message %></li>
9
- <% end %>
10
- </ul>
11
- </div>
12
- <% end %>
13
-
14
- <div class="form-group">
6
+ <div class="form-group field_with_errors">
15
7
  <label><%= f.label :catname, "Category Name" %></label>
16
8
  <%= f.text_field :catname, class: "form-control", placeholder: "Directory Category" %>
17
9
  </div>
@@ -1,22 +1,14 @@
1
1
  <%= form_for([@directory_catlist.category, @directory_catlist], url: directory_category_catlists_path) do |f| %>
2
+
3
+ <!-- PHC-Notifi Render Validation -->
4
+ <%= render 'layouts/phcnotifi/components/validations', :object => @directory_category %>
2
5
 
3
- <% if @directory_catlist.errors.any? %>
4
- <div id="error_explanation">
5
- <h2><%= pluralize(@directory_catlist.errors.count, "error") %> prohibited this directorylisting from being saved:</h2>
6
- <ul>
7
- <% @directory_catlist.errors.full_messages.each do |message| %>
8
- <li><%= message %></li>
9
- <% end %>
10
- </ul>
11
- </div>
12
- <% end %>
13
-
14
- <div class="form-group">
6
+ <div class="form-group field_with_errors">
15
7
  <label>Select a Listing</label>
16
8
  <%= collection_select(:directory_catlist, :listing_id, Phcmembers::Members::Listing.order('mlcompanyname'), :id, :mlcompanyname, {}, {class: "form-control form-control-sm"}) %>
17
9
  </div>
18
10
 
19
- <div class="form-group">
11
+ <div class="form-group field_with_errors">
20
12
  <label><%= f.label :category_id, "Select a Category" %></label>
21
13
  <%= f.text_field :category_id, class: "form-control", placeholder: "Directory Category" %>
22
14
  </div>
@@ -1,53 +1,45 @@
1
1
  <%= form_for([@members_contact.main, @members_contact], url: members_main_contacts_path) do |f| %>
2
2
 
3
- <% if @members_contact.errors.any? %>
4
- <div id="error_explanation">
5
- <h2><%= pluralize(@members_contact.errors.count, "error") %> prohibited this directorylisting from being saved:</h2>
6
- <ul>
7
- <% @members_contact.errors.full_messages.each do |message| %>
8
- <li><%= message %></li>
9
- <% end %>
10
- </ul>
11
- </div>
12
- <% end %>
3
+ <!-- PHC-Notifi Render Validation -->
4
+ <%= render 'layouts/phcnotifi/components/validations', :object => @members_contact %>
13
5
 
14
- <div class="form-group">
6
+ <div class="form-group field_with_errors">
15
7
  <label><%= f.label :mccontactname, "Contact Name*" %></label>
16
8
  <%= f.text_field :mccontactname, class: "form-control", placeholder: "Mailing Contact Name" %>
17
9
  </div>
18
- <div class="form-group">
10
+ <div class="form-group field_with_errors">
19
11
  <label><%= f.label :mccompanyname, "Company Name" %></label>
20
12
  <%= f.text_field :mccompanyname, class: "form-control", placeholder: "Company Name" %>
21
13
  </div>
22
- <div class="form-group">
14
+ <div class="form-group field_with_errors">
23
15
  <label><%= f.label :mcaddressl1, "Mailing Address Line1" %></label>
24
16
  <%= f.text_field :mcaddressl1, class: "form-control", placeholder: "Mailing Street Address" %>
25
17
  </div>
26
- <div class="form-group">
18
+ <div class="form-group field_with_errors">
27
19
  <label><%= f.label :mcaddressl2, "Mailing Address Line2" %></label>
28
20
  <%= f.text_field :mcaddressl2, class: "form-control", placeholder: "Mailing Address POBox" %>
29
21
  </div>
30
- <div class="form-group">
22
+ <div class="form-group field_with_errors">
31
23
  <label><%= f.label :mccity, "City" %></label>
32
24
  <%= f.text_field :mccity, class: "form-control", placeholder: "Mailing City" %>
33
25
  </div>
34
- <div class="form-group">
26
+ <div class="form-group field_with_errors">
35
27
  <label><%= f.label :mcprovince, "Province or State" %></label>
36
28
  <%= f.text_field :mcprovince, class: "form-control", placeholder: "Mailing Province or State" %>
37
29
  </div>
38
- <div class="form-group">
30
+ <div class="form-group field_with_errors">
39
31
  <label><%= f.label :mccountry, "Country" %></label>
40
32
  <%= f.text_field :mccountry, class: "form-control", placeholder: "Mailing Country" %>
41
33
  </div>
42
- <div class="form-group">
34
+ <div class="form-group field_with_errors">
43
35
  <label><%= f.label :mcpostalcode, "PostalCode" %></label>
44
36
  <%= f.text_field :mcpostalcode, class: "form-control", placeholder: "Mailing PostalCode" %>
45
37
  </div>
46
- <div class="form-group">
38
+ <div class="form-group field_with_errors">
47
39
  <label><%= f.label :mcphone, "" %></label>
48
40
  <%= f.text_field :mcphone, class: "form-control", placeholder: "Contact Phone Number" %>
49
41
  </div>
50
- <div class="form-group">
42
+ <div class="form-group field_with_errors">
51
43
  <label><%= f.label :mcemail, "Email" %></label>
52
44
  <%= f.text_field :mcemail, class: "form-control", placeholder: "Contact Email" %>
53
45
  </div>
@@ -1,53 +1,45 @@
1
1
  <%= form_for([@members_contact.main, @members_contact], url: members_main_contact_path, method: :patch ) do |f| %>
2
2
 
3
- <% if @members_contact.errors.any? %>
4
- <div id="error_explanation">
5
- <h2><%= pluralize(@members_contact.errors.count, "error") %> prohibited this directorylisting from being saved:</h2>
6
- <ul>
7
- <% @members_contact.errors.full_messages.each do |message| %>
8
- <li><%= message %></li>
9
- <% end %>
10
- </ul>
11
- </div>
12
- <% end %>
13
-
14
- <div class="form-group">
3
+ <!-- PHC-Notifi Render Validation -->
4
+ <%= render 'layouts/phcnotifi/components/validations', :object => @members_contact %>
5
+
6
+ <div class="form-group field_with_errors">
15
7
  <label><%= f.label :mccontactname, "Contact Name*" %></label>
16
8
  <%= f.text_field :mccontactname, class: "form-control", placeholder: "Mailing Contact Name" %>
17
9
  </div>
18
- <div class="form-group">
10
+ <div class="form-group field_with_errors">
19
11
  <label><%= f.label :mccompanyname, "Company Name" %></label>
20
12
  <%= f.text_field :mccompanyname, class: "form-control", placeholder: "Company Name" %>
21
13
  </div>
22
- <div class="form-group">
14
+ <div class="form-group field_with_errors">
23
15
  <label><%= f.label :mcaddressl1, "Mailing Address Line1" %></label>
24
16
  <%= f.text_field :mcaddressl1, class: "form-control", placeholder: "Mailing Street Address" %>
25
17
  </div>
26
- <div class="form-group">
18
+ <div class="form-group field_with_errors">
27
19
  <label><%= f.label :mcaddressl2, "Mailing Address Line2" %></label>
28
20
  <%= f.text_field :mcaddressl2, class: "form-control", placeholder: "Mailing Address POBox" %>
29
21
  </div>
30
- <div class="form-group">
22
+ <div class="form-group field_with_errors">
31
23
  <label><%= f.label :mccity, "City" %></label>
32
24
  <%= f.text_field :mccity, class: "form-control", placeholder: "Mailing City" %>
33
25
  </div>
34
- <div class="form-group">
26
+ <div class="form-group field_with_errors">
35
27
  <label><%= f.label :mcprovince, "Province or State" %></label>
36
28
  <%= f.text_field :mcprovince, class: "form-control", placeholder: "Mailing Province or State" %>
37
29
  </div>
38
- <div class="form-group">
30
+ <div class="form-group field_with_errors">
39
31
  <label><%= f.label :mccountry, "Country" %></label>
40
32
  <%= f.text_field :mccountry, class: "form-control", placeholder: "Mailing Country" %>
41
33
  </div>
42
- <div class="form-group">
34
+ <div class="form-group field_with_errors">
43
35
  <label><%= f.label :mcpostalcode, "PostalCode" %></label>
44
36
  <%= f.text_field :mcpostalcode, class: "form-control", placeholder: "Mailing PostalCode" %>
45
37
  </div>
46
- <div class="form-group">
38
+ <div class="form-group field_with_errors">
47
39
  <label><%= f.label :mcphone, "Contact Phone" %></label>
48
40
  <%= f.text_field :mcphone, class: "form-control", placeholder: "Contact Phone Number" %>
49
41
  </div>
50
- <div class="form-group">
42
+ <div class="form-group field_with_errors">
51
43
  <label><%= f.label :mcemail, "Contact Email" %></label>
52
44
  <%= f.text_field :mcemail, class: "form-control", placeholder: "Contact Email" %>
53
45
  </div>
@@ -1,57 +1,49 @@
1
1
  <%= form_for([@members_listing.main, @members_listing], url: members_main_listings_path) do |f| %>
2
2
 
3
- <% if @members_listing.errors.any? %>
4
- <div id="error_explanation">
5
- <h2><%= pluralize(@members_listing.errors.count, "error") %> prohibited this directorylisting from being saved:</h2>
6
- <ul>
7
- <% @members_listing.errors.full_messages.each do |message| %>
8
- <li><%= message %></li>
9
- <% end %>
10
- </ul>
11
- </div>
12
- <% end %>
3
+ <!-- PHC-Notifi Render Validation -->
4
+ <%= render 'layouts/phcnotifi/components/validations', :object => @members_listing %>
13
5
 
14
- <div class="form-group">
6
+ <div class="form-group field_with_errors">
15
7
  <label><%= f.label :mlcontactname, "Company Contact" %></label>
16
8
  <%= f.text_field :mlcontactname, class: 'form-control', placeholder: 'Contact Name for Company' %>
17
9
  </div>
18
- <div class="form-group">
10
+ <div class="form-group field_with_errors">
19
11
  <label><%= f.label :mlcompanyname, "Company/Organization's Name*" %></label>
20
12
  <%= f.text_field :mlcompanyname, class: 'form-control', placeholder: 'Name of Business or Organization' %>
21
13
  </div>
22
- <div class="form-group">
14
+ <div class="form-group field_with_errors">
23
15
  <label><%= f.label :mladdressl1, "Address Line1*" %></label>
24
16
  <%= f.text_field :mladdressl1, class: 'form-control', placeholder: 'Main Street Address' %>
25
17
  </div>
26
- <div class="form-group">
18
+ <div class="form-group field_with_errors">
27
19
  <label><%= f.label :mladdressl2, "Address Line2" %></label>
28
20
  <%= f.text_field :mladdressl2, class: 'form-control', placeholder: 'Adress Info Like Box or POBox Number' %>
29
21
  </div>
30
- <div class="form-group">
22
+ <div class="form-group field_with_errors">
31
23
  <label><%= f.label :mlcity, "City" %></label>
32
24
  <%= f.text_field :mlcity, class: 'form-control', placeholder: 'City' %>
33
25
  </div>
34
- <div class="form-group">
26
+ <div class="form-group field_with_errors">
35
27
  <label><%= f.label :mlprovince, "Province or State" %></label>
36
28
  <%= f.text_field :mlprovince, class: 'form-control', placeholder: 'Province or State' %>
37
29
  </div>
38
- <div class="form-group">
30
+ <div class="form-group field_with_errors">
39
31
  <label><%= f.label :mlcountry, "Country" %></label>
40
32
  <%= f.text_field :mlcountry, class: 'form-control', placeholder: 'Country' %>
41
33
  </div>
42
- <div class="form-group">
34
+ <div class="form-group field_with_errors">
43
35
  <label><%= f.label :mlpostalcode, "PostalCode" %></label>
44
36
  <%= f.text_field :mlpostalcode, class: 'form-control', placeholder: 'PostalCode' %>
45
37
  </div>
46
- <div class="form-group">
38
+ <div class="form-group field_with_errors">
47
39
  <label><%= f.label :mlphone, "Listing Phone Number" %></label>
48
40
  <%= f.text_field :mlphone, class: 'form-control', placeholder: 'General Company Number' %>
49
41
  </div>
50
- <div class="form-group">
42
+ <div class="form-group field_with_errors">
51
43
  <label><%= f.label :mlwebsite, "Company Website" %></label>
52
44
  <%= f.text_field :mlwebsite, class: 'form-control', placeholder: 'Company Website' %>
53
45
  </div>
54
- <div class="form-group">
46
+ <div class="form-group field_with_errors">
55
47
  <label><%= f.label :mlemail, "Listing Email" %></label>
56
48
  <%= f.text_field :mlemail, class: 'form-control', placeholder: 'Company General Email' %>
57
49
  </div>
@@ -1,57 +1,49 @@
1
1
  <%= form_for([@members_listing.main, @members_listing], url: members_main_listing_path, method: :patch) do |f| %>
2
2
 
3
- <% if @members_listing.errors.any? %>
4
- <div id="error_explanation">
5
- <h2><%= pluralize(@members_listing.errors.count, "error") %> prohibited this directorylisting from being saved:</h2>
6
- <ul>
7
- <% @members_listing.errors.full_messages.each do |message| %>
8
- <li><%= message %></li>
9
- <% end %>
10
- </ul>
11
- </div>
12
- <% end %>
3
+ <!-- PHC-Notifi Render Validation -->
4
+ <%= render 'layouts/phcnotifi/components/validations', :object => @members_listing %>
13
5
 
14
- <div class="form-group">
6
+ <div class="form-group field_with_errors">
15
7
  <label><%= f.label :mlcontactname, "Company Contact" %></label>
16
8
  <%= f.text_field :mlcontactname, class: 'form-control', placeholder: 'Contact Name for Company' %>
17
9
  </div>
18
- <div class="form-group">
10
+ <div class="form-group field_with_errors">
19
11
  <label><%= f.label :mlcompanyname, "Company/Organization's Name*" %></label>
20
12
  <%= f.text_field :mlcompanyname, class: 'form-control', placeholder: 'Name of Business or Organization' %>
21
13
  </div>
22
- <div class="form-group">
14
+ <div class="form-group field_with_errors">
23
15
  <label><%= f.label :mladdressl1, "Address Line1*" %></label>
24
16
  <%= f.text_field :mladdressl1, class: 'form-control', placeholder: 'Main Street Address' %>
25
17
  </div>
26
- <div class="form-group">
18
+ <div class="form-group field_with_errors">
27
19
  <label><%= f.label :mladdressl2, "Address Line2" %></label>
28
20
  <%= f.text_field :mladdressl2, class: 'form-control', placeholder: 'Adress Info Like Box or POBox Number' %>
29
21
  </div>
30
- <div class="form-group">
22
+ <div class="form-group field_with_errors">
31
23
  <label><%= f.label :mlcity, "City" %></label>
32
24
  <%= f.text_field :mlcity, class: 'form-control', placeholder: 'City' %>
33
25
  </div>
34
- <div class="form-group">
26
+ <div class="form-group field_with_errors">
35
27
  <label><%= f.label :mlprovince, "Province or State" %></label>
36
28
  <%= f.text_field :mlprovince, class: 'form-control', placeholder: 'Province or State' %>
37
29
  </div>
38
- <div class="form-group">
30
+ <div class="form-group field_with_errors">
39
31
  <label><%= f.label :mlcountry, "Country" %></label>
40
32
  <%= f.text_field :mlcountry, class: 'form-control', placeholder: 'Country' %>
41
33
  </div>
42
- <div class="form-group">
34
+ <div class="form-group field_with_errors">
43
35
  <label><%= f.label :mlpostalcode, "PostalCode" %></label>
44
36
  <%= f.text_field :mlpostalcode, class: 'form-control', placeholder: 'PostalCode' %>
45
37
  </div>
46
- <div class="form-group">
38
+ <div class="form-group field_with_errors">
47
39
  <label><%= f.label :mlphone, "Listing Phone Number" %></label>
48
40
  <%= f.text_field :mlphone, class: 'form-control', placeholder: 'General Company Number' %>
49
41
  </div>
50
- <div class="form-group">
42
+ <div class="form-group field_with_errors">
51
43
  <label><%= f.label :mlwebsite, "Company Website" %></label>
52
44
  <%= f.text_field :mlwebsite, class: 'form-control', placeholder: 'Company Website' %>
53
45
  </div>
54
- <div class="form-group">
46
+ <div class="form-group field_with_errors">
55
47
  <label><%= f.label :mlemail, "Listing Email" %></label>
56
48
  <%= f.text_field :mlemail, class: 'form-control', placeholder: 'Company General Email' %>
57
49
  </div>
@@ -12,7 +12,7 @@
12
12
 
13
13
  <!-- Main Content -->
14
14
  <div class="wrapper wrapper-content">
15
- <div class="panel">
15
+ <div class="panel panel-primary">
16
16
  <div class="panel-heading">
17
17
  Create a New Listing
18
18
  </div>
@@ -1,37 +1,28 @@
1
1
  <%= form_for(@members_main) do |f| %>
2
2
 
3
- <% if @members_main.errors.any? %>
4
- <div id="error_explanation">
5
- <h2><%= pluralize(@members_main.errors.count, "error") %> prohibited this directorylisting from being saved:</h2>
6
- <ul>
7
- <% @members_main.errors.full_messages.each do |message| %>
8
- <li><%= message %></li>
9
- <% end %>
10
- </ul>
11
- </div>
12
- <% end %>
3
+ <%= render 'layouts/phcnotifi/components/validations', :object => @members_main %>
13
4
 
14
- <div class="form-group">
5
+ <div class="form-group field_with_errors">
15
6
  <label><%= f.label :mfirstname, "First Name*" %></label>
16
7
  <%= f.text_field :mfirstname, class: 'form-control', placeholder: 'Members First Name' %>
17
8
  </div>
18
- <div class="form-group">
9
+ <div class="form-group field_with_errors">
19
10
  <label><%= f.label :mlastname, "Last Name*" %></label>
20
11
  <%= f.text_field :mlastname, class: 'form-control', placeholder: 'Members Last Name' %>
21
12
  </div>
22
- <div class="form-group">
13
+ <div class="form-group field_with_errors">
23
14
  <label><%= f.label :mtitle, "Title" %></label>
24
15
  <%= f.text_field :mtitle, class: 'form-control', placeholder: 'Members Title' %>
25
16
  </div>
26
- <div class="form-group">
17
+ <div class="form-group field_with_errors">
27
18
  <label><%= f.label :memail, "Email*" %></label>
28
19
  <%= f.text_field :memail, class: 'form-control', placeholder: 'Members Email' %>
29
20
  </div>
30
- <div class="form-group">
21
+ <div class="form-group field_with_errors">
31
22
  <label><%= f.label :mphone, "Phone*" %></label>
32
23
  <%= f.text_field :mphone, class: 'form-control', placeholder: 'Members Phone' %>
33
24
  </div>
34
- <div class="form-group">
25
+ <div class="form-group field_with_errors">
35
26
  <label><%= f.label :mnotes, "Member Notes (Private)" %></label>
36
27
  <%= f.text_area :mnotes, class: 'form-control', placeholder: 'Member Notes' %>
37
28
  </div>
@@ -1,3 +1,3 @@
1
1
  module Phcmembers
2
- VERSION = "0.6.2"
2
+ VERSION = "0.8.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcmembers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-01 00:00:00.000000000 Z
11
+ date: 2016-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -50,6 +50,20 @@ dependencies:
50
50
  - - ">="
51
51
  - !ruby/object:Gem::Version
52
52
  version: 3.5.6
53
+ - !ruby/object:Gem::Dependency
54
+ name: phcnotifi
55
+ requirement: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - "~>"
58
+ - !ruby/object:Gem::Version
59
+ version: 0.2.1
60
+ type: :runtime
61
+ prerelease: false
62
+ version_requirements: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: 0.2.1
53
67
  - !ruby/object:Gem::Dependency
54
68
  name: jquery-rails
55
69
  requirement: !ruby/object:Gem::Requirement
@@ -302,8 +316,7 @@ dependencies:
302
316
  - - "~>"
303
317
  - !ruby/object:Gem::Version
304
318
  version: '2.52'
305
- description: "(Under Development) Manage your organization's members and website's
306
- membership directory."
319
+ description: Manage your organization's members and website's membership directory.
307
320
  email:
308
321
  - bradley.j.potts@gmail.com
309
322
  executables: []
@@ -349,9 +362,10 @@ files:
349
362
  - app/models/phcmembers/members/main.rb
350
363
  - app/views/layouts/phcmembers/application.html.erb
351
364
  - app/views/layouts/phcmembers/directory/directory_all.html.erb
352
- - app/views/layouts/phcmembers/elements/alerts/_notifications.html.erb
353
- - app/views/layouts/phcmembers/elements/alerts/_validations.html.erb
354
365
  - app/views/layouts/phcmembers/members/members_all.html.erb
366
+ - app/views/layouts/phcnotifi/application.html.erb
367
+ - app/views/layouts/phcnotifi/components/_notifications.html.erb
368
+ - app/views/layouts/phcnotifi/components/_validations.html.erb
355
369
  - app/views/phcmembers/directory/categories/_form.html.erb
356
370
  - app/views/phcmembers/directory/categories/edit.html.erb
357
371
  - app/views/phcmembers/directory/categories/index.html.erb
@@ -376,7 +390,6 @@ files:
376
390
  - app/views/phcmembers/members/mains/index.html.erb
377
391
  - app/views/phcmembers/members/mains/new.html.erb
378
392
  - app/views/phcmembers/members/mains/show.html.erb
379
- - config/application.yml
380
393
  - config/routes.rb
381
394
  - db/migrate/20160227150117_create_phcmembers_members_mains.rb
382
395
  - db/migrate/20160227160416_create_phcmembers_members_listings.rb
@@ -1,13 +0,0 @@
1
- # Add configuration values here, as shown below.
2
- #
3
- # pusher_app_id: "2954"
4
- # pusher_key: 7381a978f7dd7f9a1117
5
- # pusher_secret: abdc3b896a0ffb85d373
6
- # stripe_api_key: sk_test_2J0l093xOyW72XUYJHE4Dv2r
7
- # stripe_publishable_key: pk_test_ro9jV5SNwGb1yYlQfzG17LHK
8
- #
9
- # production:
10
- # stripe_api_key: sk_live_EeHnL644i6zo4Iyq4v1KdV9H
11
- # stripe_publishable_key: pk_live_9lcthxpSIHbGwmdO941O1XVU
12
-
13
- TRUSTED_IP: 23.16.249.219