Skip to content

Commit

Permalink
Merge pull request #566 from fgourichon/MNOE-772
Browse files Browse the repository at this point in the history
[MNOE-772] - Fix error 500 on confirming account
  • Loading branch information
ouranos authored Nov 3, 2017
2 parents d665025 + b78fc0a commit 1963b14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
.row
.col-sm-12
.phone
= f.select :phone_country_code, options_for_select(Country.all.map { |country,code| c = Country.new(code); ["#{c.alpha2} +#{c.country_code}", code]}, MnoEnterprise.app_country), {}, class: 'form-control unstyled'
= f.select :phone_country_code, options_for_select(ISO3166::Country.codes.map { |code| c = ISO3166::Country[code]; ["#{c.alpha2} +#{c.country_code}", code]}, MnoEnterprise.app_country), {}, class: 'form-control unstyled'
= f.text_field :phone, placeholder: "*Phone", required: true, 'ng-model' => 'user.phone', class: 'form-control'

%br
Expand Down

0 comments on commit 1963b14

Please sign in to comment.