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 %}
|
{% if transactions %}
|
||||||
<ul>
|
<ul>
|
||||||
{% for trans in transactions %}
|
{% for trans in transactions %}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
<a href="{% url 'index' %}">Home</a>
|
||||||
|
|
||||||
<form action="{% url 'update_transaction' transaction.id %}" method="post">
|
<form action="{% url 'update_transaction' transaction.id %}" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form }}
|
{{ form }}
|
||||||
|
|
Loading…
Reference in a new issue