Fix snapshot page

This commit is contained in:
Edgar P. Burkhart 2023-04-19 16:58:40 +02:00
parent 0ec3fa74b2
commit f4077456af
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -18,11 +18,7 @@
{% block body %}
{% with snapshot=form.instance %}
<h1>
{% if snapshot.sum == snapshot.diff %}
{% else %}
{% endif %}
<span class="ri-{% if snapshot.sum == snapshot.diff %}check-line green{% else %}close-line red{% endif %}"></span>
{{ snapshot }}
</h1>
<form method="post" enctype="multipart/form-data">