aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-09-15 20:25:23 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-09-15 20:25:23 +0100
commitf57c0bea3ccc536b26a52f1f92c42828d654af67 (patch)
treedd5483259fa93d5b5f8963c2da12724e5506d802
parent7b91c442396edf030059f013a04de225bc3d1aad (diff)
fixed incorrect url reference
-rw-r--r--ctrack/caf/templates/caf/caf_detail.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrack/caf/templates/caf/caf_detail.html b/ctrack/caf/templates/caf/caf_detail.html
index fdd939e..c82b241 100644
--- a/ctrack/caf/templates/caf/caf_detail.html
+++ b/ctrack/caf/templates/caf/caf_detail.html
@@ -79,7 +79,7 @@
</tr>
{% endfor %}
{% else %}
- <a class="btn btn-primary" href="{% url "caf:as_create_from_org" object.slug %}" role="button">Add
+ <a class="btn btn-primary" href="{% url "caf:as_create_from_org" organisation.slug %}" role="button">Add
new...</a>
{% endif %}
</table>