Fix back link in transation form (fix #12)

This commit is contained in:
Edgar P. Burkhart 2023-12-31 09:03:49 +01:00
parent fe95222474
commit ee043d3956
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -8,9 +8,9 @@
{% translate "New transaction" %} {% translate "New transaction" %}
{% endblock %} {% endblock %}
{% block pre %} {% block pre %}
{% if snapshot %} {% if statement %}
<p> <p>
<a href="{{ snapshot.get_absolute_url }}">{{ snapshot }}</a> <a href="{{ statement.get_absolute_url }}">{{ statement }}</a>
</p> </p>
{% endif %} {% endif %}
{% endblock %} {% endblock %}