* Put the extends tag in the first line of all templates, instead of after the load...
[matthijs/projects/xerxes.git] / templates / influences / character_detail.html
index 56c60cd50bcc18528abe6438c6b7dc233919cfe1..31279853ece8db5e417db1587797037e2e8437df 100644 (file)
@@ -1,9 +1,16 @@
-<h1>{{ object.name }}</h1>
-Influences voor {{ object.name }}
+{% 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.objects.all %}
        <li>{{ influence }}</li>
 {% endfor %}
 </ul>
 
-<a href="/influences/character/{{ object.id }}/addinfluence">Influence toevoegen</a>
+<a href="../../add/{{ object.id }}">{% trans "Submit influence" %}</a>
+
+{% endblock %}