0.0.294
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
<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" %}">
|
||||
<img class="avatar_user_profile" {% if user.user_profile.avatar %}
|
||||
src="{{ user.user_profile.avatar.url }}"
|
||||
{% else %}src="{% static "img/svg/User.svg" %}"{% endif %} >
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user