Hint to the browser that the avatar should be PNG

Should result in that the file picker by default only shows PNG files
for selection.
This commit is contained in:
Kim Alvefur
2021-03-16 21:14:05 +01:00
committed by Jonas Schäfer
parent 5ef5b93eb9
commit 05d1b42dc4

View File

@@ -13,7 +13,7 @@
{{ form.avatar.label }}
<div class="avatar-wrap">
{%- call avatar(user_info.address, user_info.avatar_hash ) %}{% endcall -%}
{{ form.avatar }}
{{ form.avatar(accept="image/png") }}
</div>
</div>
<h3 class="form-title">{% trans %}Visibility{% endtrans %}</h3>