* Use the url function in urls.py.
[matthijs/projects/xerxes.git] / templates / influences / character_detail.html
index 31279853ece8db5e417db1587797037e2e8437df..d418529f812fecc6e30a67ee9b8ba687666656e1 100644 (file)
@@ -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 %}