{% load static %}

<div class="block_inf_profile">
    <div class="f-l width-50">
        <div class="upload_photo_container">
            <img class="avatar_user_profile" src="{% static "img/svg/User.svg" %}">
            <input type="file" onchange="upload_photo_f_profile(this)" class="btn_f_upload_photo" id="id_btn_f_upload_photo">
            <label class="upload_photo_label" for="id_btn_f_upload_photo">Загрузить фото</label>
        </div>
        <div class="clear_both"></div>
    </div>
    <div class="f-r width-50">
        <div class="f-r">
            <div class="cur_subscribe_label">Текущая подписка:</div>
            <div class="cur_subscribe_f_profile">{{ user_subscribe.subscribe.name }}</div>
            <div class="btn_go_to_subscribes pointer" onclick="mySubscription(this)">Перейти к подпискам</div>
        </div>
        <div class="clear_both"></div>
    </div>
    <div class="clear_both"></div>
</div>
<div class="container_form_profile">
    <div class="container_el_form_profile">
        <label class="label_f_profile" for="name"><span class="orange-text">*</span> Ваше имя</label>
        <input class="input_f_profile" type="text" id="id_firstname" name="firstname" {% if profileForm.initial.firstname %}value="{{ profileForm.initial.firstname }}" {% endif %} >
    </div>
    <div class="container_el_form_profile">
        <label class="label_f_profile" for="id_lastname"><span class="orange-text">*</span> Ваша фамилия</label>
        <input class="input_f_profile" type="text" id="id_lastname" name="lastname" {% if profileForm.initial.lastname %}value="{{ profileForm.initial.lastname }}" {% endif %}>
    </div>
    <div class="container_el_form_profile">
        <label class="label_f_profile" for="id_tel"><span class="orange-text">*</span> Номер телефона</label>
        <input class="input_f_profile" type="text" id="id_tel" name="tel" {% if profileForm.initial.tel %}value="{{ profileForm.initial.tel }}" {% endif %}>
    </div>
    <div class="container_el_form_profile">
        <label class="label_f_profile" for="id_email"><span class="orange-text">*</span> Е-mail</label>
        <input class="input_f_profile" type="text" id="id_email" name="email" {% if profileForm.initial.email %}value="{{ profileForm.initial.email }}" {% endif %}>
    </div>
    <div class="container_el_form_profile">
        <label class="label_f_profile" for="id_country"><span class="orange-text">*</span> Страна проживания</label>
        <input class="input_f_profile" type="text" id="id_country" name="country" {% if profileForm.initial.country %}value="{{ profileForm.initial.country }}" {% endif %}>
    </div>
    <div class="container_el_form_profile">
        <label class="label_f_profile" for="id_city"><span class="orange-text">*</span> Город проживаня</label>
        <input class="input_f_profile" type="text" id="id_city" name="city" {% if profileForm.initial.city %}value="{{ profileForm.initial.city }}" {% endif %}>
    </div>

    <div class="line_f_form_profile"></div>

    <div class="container_el_form_profile">
        <label class="label_f_profile" for="id_password"><span class="orange-text">*</span> Новый пароль</label>
        <input class="input_f_profile" type="text" id="id_password" name="password" {% if profileForm.initial.password %}value="{{ profileForm.initial.password }}" {% endif %}>
    </div>
    <div class="container_el_form_profile">
        <label class="label_f_profile" for="id_confirm_password"><span class="orange-text">*</span> Подвердить пароль</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 %}>
    </div>
    <button class="confirm_profile_btn">Сохарнить</button>

</div>