* Use the url function in urls.py.
[matthijs/projects/xerxes.git] / templates / influences / character_detail.html
index f6c1490270a7d255f2d5a4dc31c6026b8824f068..d418529f812fecc6e30a67ee9b8ba687666656e1 100644 (file)
@@ -1,4 +1,8 @@
+{% extends "base/base.html" %}
 {% load i18n %}
+
+{% block content %}
+
 <h2>{{ object.name }}</h2>
 <h3>{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}</h3>
 <ul>
@@ -7,4 +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 %}