Don't pass base to the comment preview template.
[matthijs/projects/xerxes.git] / templates / influences / character_detail.html
index 56c60cd50bcc18528abe6438c6b7dc233919cfe1..1f31ec9c61402b72e356158695481bc6ad096c1c 100644 (file)
@@ -1,9 +1,5 @@
-<h1>{{ object.name }}</h1>
-Influences voor {{ object.name }}
-<ul>
-{% for influence in object.influence_set.objects.all %}
-       <li>{{ influence }}</li>
-{% endfor %}
-</ul>
+{% extends "base/base.html" %}
 
-<a href="/influences/character/{{ object.id }}/addinfluence">Influence toevoegen</a>
+{% block content %}
+{% include "influences/character_detail_block.html" %}
+{% endblock %}