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