Refactor statistic page with class StatisticData

This commit is contained in:
Sokurov Idar
2021-03-09 00:53:11 +03:00
parent ce55ec61e6
commit 5efec2641a
3 changed files with 174 additions and 87 deletions

View File

@@ -31,6 +31,15 @@
<li>{{error}}</li>
{% endfor %}
</ul>
{%if form.errors%}
<ul>
{% for field, errors in form.errors.items %}
{% for error in errors %}
<li>{{error}}</li>
{% endfor %}
{% endfor %}
</ul>
{%endif%}
</div>
{% endblock %}