0.0.326 upd change_profile
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
{% if profileForm.errors.lastname %}<div class="error_form_profile">{{ profileForm.errors.lastname }}</div>{% endif %}
|
||||
</div>
|
||||
<div class="container_el_form_profile">
|
||||
<label class="label_f_profile" for="id_tel">{% if profileForm.fields.tel.required %}<span class="orange-text">*</span>{% endif %}{% translate "Номер телефона" %} </label>
|
||||
<label class="label_f_profile" for="id_tel">{% translate "Номер телефона" %} </label>
|
||||
<input class="input_f_profile" type="text" id="id_tel" name="tel" {% if profileForm.initial.tel %}value="{{ profileForm.initial.tel }}" {% endif %} {% if profileForm.initial.tel %}data-initial-value="{{ profileForm.initial.tel }}"{% else %}data-initial-value=""{% endif %}>
|
||||
{% if profileForm.errors.tel %}<div class="error_form_profile">{{ profileForm.errors.tel|safe }}</div>{% endif %}
|
||||
</div>
|
||||
@@ -65,7 +65,16 @@
|
||||
<label class="label_f_profile" for="id_confirm_password">{% translate "Подтвердить пароль" %} </label>
|
||||
<input class="input_f_profile" type="text" id="id_confirm_password" name="confirm_password" {% if profileForm.initial.confirm_password %}value="{{ profileForm.initial.confirm_password }}" {% endif %} {% if profileForm.initial.confirm_password %}data-initial-value="{{ profileForm.initial.confirm_password }}"{% else %}data-initial-value=""{% endif %}>
|
||||
</div>
|
||||
<button class="confirm_profile_btn" onclick="change_profile_confirm(this)">{% translate "Сохарнить" %}</button>
|
||||
<button class="confirm_profile_btn" onclick="change_profile_confirm(this)">
|
||||
<p id="save_changes_txt">
|
||||
{% translate "Сохарнить" %}
|
||||
</p>
|
||||
<p id="changes_saved_txt">
|
||||
{% translate "Изменения сохранены" %}
|
||||
</p>
|
||||
|
||||
|
||||
</button>
|
||||
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user