Add file moderation tool

This commit is contained in:
Skia
2016-11-09 09:13:57 +01:00
parent 02be5e1629
commit 9e32840549
9 changed files with 92 additions and 5 deletions

View File

@ -8,6 +8,7 @@
<h2>{% trans %}Edit user profile{% endtrans %}</h2>
<form action="" method="post" enctype="multipart/form-data" id="user_edit">
{% csrf_token %}
{{ form.non_field_errors() }}
{% for field in form %}
<p>{{ field.errors }}<label for="{{ field.name }}">{{ field.label }}
{%- if field.name == "profile_pict" -%}