phcmemberspro 2.1.2 → 2.1.3

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: 6604df30ad84811a993ae868e8d2aa5bc82ecf9e
4
- data.tar.gz: cb6afff8dbc964cf184235ebe57c7c5368bcd199
3
+ metadata.gz: c65c1db358aba2031544dadfb041c90859fc024d
4
+ data.tar.gz: fc707f10fa2a7b317aeafdc387ec4c528bed72bd
5
5
  SHA512:
6
- metadata.gz: eb33f6ae992811619697ae53a03acfbc6fe3f81ce72e5ae43eb2a2b40e23e40ad00b93c60598ee7bf04bc1253e7c0f27cee8c8a83732d962fe745ff8b115c718
7
- data.tar.gz: e55f88c1882ac040409a47b9c2724c06dc34f8d402a00b89bf141bbddc8bbcdd54ecc42e39713a4e9f1f50269b699e46015c39f2415e9daaf711d9dc4e51a1ec
6
+ metadata.gz: 3c32c81e0f10ebdec1eefaf905fe026b2093beb5f92604c6d61762771a319f574e8341aa266ae9205b7e9293227978282b09cfbe405e160533fe8c8c8baefdeb
7
+ data.tar.gz: 437919b96ef86c18ea8401260fc448ac5ed4534c8b10754763d40f8efa4e4d9fca628edac2325d385867b810b5e3e559b4c9370ec07a834a417e007a7d7cb665
@@ -7,8 +7,8 @@ module Phcmemberspro
7
7
  end
8
8
 
9
9
  # Translate Country Code to Name
10
- def mccountry
11
- country = ISO3166::Country[country_code]
10
+ def country_name
11
+ country = ISO3166::Country[mccountry]
12
12
  country.translations[I18n.locale.to_s] || country.name
13
13
  end
14
14
 
@@ -7,8 +7,8 @@ module Phcmemberspro
7
7
  end
8
8
 
9
9
  # Translate Country Code to Name
10
- def mlcountry
11
- country = ISO3166::Country[country_code]
10
+ def country_name
11
+ country = ISO3166::Country[mlcountry]
12
12
  country.translations[I18n.locale.to_s] || country.name
13
13
  end
14
14
 
@@ -29,18 +29,18 @@
29
29
  </div>
30
30
  <div class="form-group field_with_errors">
31
31
  <label><%= f.label :mccountry, "Country" %></label>
32
- <%= country_select("members_contact", "mccountry", { priority_countries: ["CA","US", "GB", "FR"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
32
+ <%= country_select("members_contact", "mccountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
33
33
  </div>
34
34
  <div class="form-group field_with_errors">
35
35
  <label><%= f.label :mcpostalcode, "PostalCode" %></label>
36
36
  <%= f.text_field :mcpostalcode, class: "form-control", placeholder: "Mailing PostalCode" %>
37
37
  </div>
38
38
  <div class="form-group field_with_errors">
39
- <label><%= f.label :mcphone, "" %></label>
39
+ <label><%= f.label :mcphone, "Contact Phone" %></label>
40
40
  <%= f.text_field :mcphone, class: "form-control", placeholder: "Contact Phone Number" %>
41
41
  </div>
42
42
  <div class="form-group field_with_errors">
43
- <label><%= f.label :mcemail, "Email" %></label>
43
+ <label><%= f.label :mcemail, "Contact Email" %></label>
44
44
  <%= f.text_field :mcemail, class: "form-control", placeholder: "Contact Email" %>
45
45
  </div>
46
46
  <div class="actions">
@@ -29,7 +29,7 @@
29
29
  </div>
30
30
  <div class="form-group field_with_errors">
31
31
  <label><%= f.label :mccountry, "Country" %></label>
32
- <%= country_select("members_contact", "mccountry", { priority_countries: ["CA","US", "GB", "FR"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
32
+ <%= country_select("members_contact", "mccountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
33
33
  </div>
34
34
  <div class="form-group field_with_errors">
35
35
  <label><%= f.label :mcpostalcode, "PostalCode" %></label>
@@ -29,7 +29,7 @@
29
29
  </div>
30
30
  <div class="form-group field_with_errors">
31
31
  <label><%= f.label :mlcountry, "Country" %></label>
32
- <%= country_select("members_contact", "mlcountry", { priority_countries: ["CA","US", "GB", "FR"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
32
+ <%= country_select("members_contact", "mlcountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
33
33
  </div>
34
34
  <div class="form-group field_with_errors">
35
35
  <label><%= f.label :mlpostalcode, "PostalCode" %></label>
@@ -29,7 +29,7 @@
29
29
  </div>
30
30
  <div class="form-group field_with_errors">
31
31
  <label><%= f.label :mlcountry, "Country" %></label>
32
- <%= country_select("members_contact", "mlcountry", { priority_countries: ["CA","US", "GB", "FR"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
32
+ <%= country_select("members_contact", "mlcountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
33
33
  </div>
34
34
  <div class="form-group field_with_errors">
35
35
  <label><%= f.label :mlpostalcode, "PostalCode" %></label>
@@ -1,3 +1,3 @@
1
1
  module Phcmemberspro
2
- VERSION = "2.1.2"
2
+ VERSION = "2.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcmemberspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts