Don't pass base to the comment preview template.
[matthijs/projects/xerxes.git] / templates / influences / character_detail.html
index 164310c31524e3d88d6e71569cc249ff61af3367..1f31ec9c61402b72e356158695481bc6ad096c1c 100644 (file)
@@ -1,16 +1,5 @@
 {% 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>
-{% for influence in object.influence_set.all %}
-       <li><a href="{% url influences_influence_detail influence.pk %}">{{ influence }}</a></li>
-{% endfor %}
-</ul>
-
-<a href="{% url influences_add_influence_for_character object.id %}">{% trans "Submit influence" %}</a>
-
+{% include "influences/character_detail_block.html" %}
 {% endblock %}