Fixed a bug which caused non-US or CA addresses to crash registration
This commit is contained in:
parent
f682a92331
commit
4c079df8e2
@ -4,6 +4,6 @@
|
||||
= save_registration_step do
|
||||
= textfield :address, @address, required: true, big: true
|
||||
.multi-field
|
||||
= textfield :city, @city.city, readonly: true
|
||||
= textfield :territory, @city.translate_territory.html_safe, readonly: true
|
||||
= textfield :country, @city.translate_country.html_safe, readonly: true
|
||||
= textfield :city, (@city.city || '').html_safe, readonly: true
|
||||
= textfield :territory, (@city.translate_territory || '').html_safe, readonly: true
|
||||
= textfield :country, (@city.translate_country ||| '').html_safe, readonly: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user