Properly include superblock in news articles
authorMagnus Hagander <magnus@hagander.net>
Tue, 26 Jun 2012 11:51:35 +0000 (13:51 +0200)
committerMagnus Hagander <magnus@hagander.net>
Tue, 26 Jun 2012 11:51:35 +0000 (13:51 +0200)
In passing, use <h4> for the header to make it a bit more clear what's
going on.

templates/admin/news/newsarticle/change_form.html

index 3a9d105f0ec52a10fbcc9baf3bcc2f80b4244a79..6956556680060a02b0f15b163d89e75afd00b8a5 100644 (file)
@@ -1,11 +1,10 @@
 {% extends "admin/change_form_pgweb.html" %}
 {% block after_field_sets %}
-<p>
-Previous 10 posts by this organization:
+{{block.super}}
+<h4>Previous 10 posts by this organization:</h4>
 <ul>
 {%for p in latest %}
 <li>{{p.date}}: {{p.title}}</li>
 {%endfor%}
 </ul>
-</p>
 {% endblock %}