fix
This commit is contained in:
parent
da15dc7fb1
commit
c1d05b5984
@ -7,7 +7,6 @@
|
|||||||
{% block title %}Анкета{% endblock %}
|
{% block title %}Анкета{% endblock %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{{ header.section(user) }}
|
{{ header.section(user) }}
|
||||||
<section class="c_dg3k4">
|
<section class="c_dg3k4">
|
||||||
@ -16,15 +15,14 @@
|
|||||||
<div class="c_ru432">
|
<div class="c_ru432">
|
||||||
{{ profile_nav.profile_nav(user, 'form') }}
|
{{ profile_nav.profile_nav(user, 'form') }}
|
||||||
<div class="c_tihtk" id="main">
|
<div class="c_tihtk" id="main">
|
||||||
|
|
||||||
<div class="c_aihm6 floating-group">
|
<div class="c_aihm6 floating-group">
|
||||||
<label for="female_name_lastname" class="c_z3ybu floating-label">ФИО<span style="color:red">*</span></label>
|
<label for="female_name_lastname" class="c_z3ybu floating-label">ФИО<span style="color:red">*</span></label>
|
||||||
<input name="female_name_lastname" id="female_name_lastname" class="c_xhd5k" required />
|
<input name="female_name_lastname" id="female_name_lastname" class="c_xhd5k" required />
|
||||||
<span></span>
|
<span></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<label for="birthday" class="c_z3ybu floating-label">Дата рождения<span style="color:red">*</span></label>
|
<label for="birthday" class="c_z3ybu floating-label">Дата рождения<span style="color:red">*</span></label>
|
||||||
|
|
||||||
<div class="c_aihm6 floating-group birthday">
|
<div class="c_aihm6 floating-group birthday">
|
||||||
<select id="day">
|
<select id="day">
|
||||||
<option>1</option>
|
<option>1</option>
|
||||||
@ -295,9 +293,8 @@ payload = {
|
|||||||
'print_merch': document.getElementById('print_merch').value,
|
'print_merch': document.getElementById('print_merch').value,
|
||||||
'own_workshop': document.getElementById('own_workshop').value,
|
'own_workshop': document.getElementById('own_workshop').value,
|
||||||
'workshop_tour': document.getElementById('workshop_tour').value,
|
'workshop_tour': document.getElementById('workshop_tour').value,
|
||||||
'biography': document.getElementById('biography').value}
|
'biography': document.getElementById('biography').value
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await fetch(`/api/user/form`, {
|
const res = await fetch(`/api/user/form`, {
|
||||||
@ -328,11 +325,7 @@ window.location.reload();
|
|||||||
showToast({ message: 'Ошибка соединения с сервером!', status: 'error', duration: 2500 });
|
showToast({ message: 'Ошибка соединения с сервером!', status: 'error', duration: 2500 });
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// @license-end
|
// @license-end
|
||||||
</script>
|
</script>
|
||||||
{{ footer.section(user) }}
|
{{ footer.section(user) }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user