|
|
|
|
@ -122,7 +122,7 @@ |
|
|
|
|
<div class="field__label">ДАТА РОЖДЕНИЯ</div> |
|
|
|
|
<div class="field__wrap"> |
|
|
|
|
<vue-datepicker input-class="field__input" name="child_birthday" language="ru" format="dd/MM/yyyy" |
|
|
|
|
value="{% if user.child_birthday %}{{ user.child_birthday | date:'d/m/Y' }}{% endif %}" placeholder="dd/mm/yyyy"/> |
|
|
|
|
value="{% if user.child_birthday %}{{ user.child_birthday | date:'Y-m-d' }}{% endif %}" placeholder="dd/mm/yyyy"/> |
|
|
|
|
</div> |
|
|
|
|
{% for error in form.child_birthday.errors %} |
|
|
|
|
<div class="field__error">{{ error }}</div> |
|
|
|
|
@ -188,7 +188,7 @@ |
|
|
|
|
<div class="field__label">ДАТА РОЖДЕНИЯ</div> |
|
|
|
|
<div class="field__wrap"> |
|
|
|
|
<vue-datepicker input-class="field__input" name="birthday" language="ru" format="dd/MM/yyyy" |
|
|
|
|
value="{% if user.birthday %}{{ user.birthday | date:'d/m/Y' }}{% endif %}" placeholder="dd/mm/yyyy"/> |
|
|
|
|
value="{% if user.birthday %}{{ user.birthday | date:'Y-m-d' }}{% endif %}" placeholder="dd/mm/yyyy"/> |
|
|
|
|
</div> |
|
|
|
|
{% for error in form.birthday.errors %} |
|
|
|
|
<div class="field__error">{{ error }}</div> |
|
|
|
|
|