Skip to content

Commit

Permalink
[MNOE-772] - Fix error 500 on confirming account
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois Gourichon committed Nov 3, 2017
1 parent d665025 commit b78fc0a
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 b78fc0a

Please sign in to comment.