Browse Source

Fixed a bug which caused non-US or CA addresses to crash registration

development
Godwin 7 years ago
committed by GitHub
parent
commit
4c079df8e2
  1. 6
      app/views/registration_steps/_org_create_address.html.haml

6
app/views/registration_steps/_org_create_address.html.haml

@ -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…
Cancel
Save