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
1 changed files with 2 additions and 2 deletions

View File

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