Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Move PhonePrefixWidget to a form end

dominik-zeglen81af621303aa
diff --git a/templates/userprofile/snippets/address-form.html b/templates/userprofile/snippets/address-form.html
index 9df7d41ae2..f0dcd4d2b0 100644
--- a/templates/userprofile/snippets/address-form.html
+++ b/templates/userprofile/snippets/address-form.html
@@ -1,22 +1,22 @@
{% load bootstrap_field from bootstrap3 %}
<div class="i18n-address">
- {% bootstrap_field address_form.phone%}
- {% with address_form_lines=address_form.i18n_fields_order %}
- {% if address_form_lines %}
- {% for line in address_form_lines %}
- <div class="row">
- {% for field in line %}
- <div class="col-6">
- {% bootstrap_field field %}
- </div>
- {% endfor %}
- </div>
- {% endfor %}
- {% endif %}
- {% endwith %}
- {% for field in address_form.hidden_fields %}
- {{ field }}
- {% endfor %}
- {% bootstrap_field address_form.country %}
- <input type="hidden" class="preview" name="preview">
+ {% with address_form_lines=address_form.i18n_fields_order %}
+ {% if address_form_lines %}
+ {% for line in address_form_lines %}
+ <div class="row">
+ {% for field in line %}
+ <div class="col-6">
+ {% bootstrap_field field %}
+ </div>
+ {% endfor %}
+ </div>
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
+ {% for field in address_form.hidden_fields %}
+ {{ field }}
+ {% endfor %}
+ {% bootstrap_field address_form.country %}
+ {% bootstrap_field address_form.phone %}
+ <input type="hidden" class="preview" name="preview">
</div>