Fixed a bug which caused non-US or CA addresses to crash registration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user