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