This commit is contained in:
SBD
2023-12-03 13:18:49 +03:00
parent 38c08cbced
commit dd4ad82248
9 changed files with 9 additions and 9 deletions

View File

@@ -6,7 +6,7 @@
<div class="upload_photo_container">
<img class="avatar_user_profile" {% if user.user_profile.avatar %}
src="{{ user.user_profile.avatar.url }}"
{% else %}src="{% static "img/svg/User.svg" %}"{% endif %} >
{% else %}src="{% static "img/svg/user_icon_standart.png" %}"{% 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">{% translate "Загрузить фото" %}</label>
</div>