* Use the url function in urls.py.
[matthijs/projects/xerxes.git] / templates / influences / character_detail.html
index f5071c23b6532bf0d0a0b8ab03df094e280a528e..d418529f812fecc6e30a67ee9b8ba687666656e1 100644 (file)
@@ -1,5 +1,5 @@
-{% load i18n %}
 {% extends "base/base.html" %}
+{% load i18n %}
 
 {% block content %}
 
@@ -11,6 +11,6 @@
 {% endfor %}
 </ul>
 
-<a href="../../add/{{ object.id }}">{% trans "Submit influence" %}</a>
+<a href="{% url influences_add_influence_to_character object.id %}">{% trans "Submit influence" %}</a>
 
 {% endblock %}