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