Add link navigation
This commit is contained in:
parent
eddfa4708f
commit
f95ad516ea
2 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
|||
<a href="{% url 'transaction' %}">Add transaction</a>
|
||||
|
||||
{% if transactions %}
|
||||
<ul>
|
||||
{% for trans in transactions %}
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
<a href="{% url 'index' %}">Home</a>
|
||||
|
||||
<form action="{% url 'update_transaction' transaction.id %}" method="post">
|
||||
{% csrf_token %}
|
||||
{{ form }}
|
||||
|
|
Loading…
Reference in a new issue