Don't pass base to the comment preview template.
[matthijs/projects/xerxes.git] / templates / influences / character_detail.html
index 96e2c209f3903ce8300e5a2c29f944007726eb67..1f31ec9c61402b72e356158695481bc6ad096c1c 100644 (file)
@@ -1,10 +1,5 @@
-{% load i18n %}
-<h2>{{ object.name }}</h2>
-<h3>{% blocktrans with object.name as name %}Influences for {{ name }}{% endblocktrans %}</h3>
-<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">{% trans "Submit influence" %}</a>
+{% block content %}
+{% include "influences/character_detail_block.html" %}
+{% endblock %}