Reorganize template names
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
{% load mptt_tags %}
|
||||
|
||||
<div class="forum-post">
|
||||
{% include "forums/_post_children.html" with post=post %}
|
||||
<div class="forum-post root">
|
||||
{% include "forums/_reply.html" with post=post %}
|
||||
{% recursetree post.get_descendants %}
|
||||
<div class="forum-post">
|
||||
{% include "forums/_post_children.html" with post=node %}
|
||||
{% include "forums/_reply.html" with post=node %}
|
||||
{{children}}
|
||||
</div>
|
||||
{%endrecursetree%}
|
||||
|
@@ -2,7 +2,7 @@
|
||||
{%block content%}
|
||||
<div class="item">
|
||||
<h2>Replying to:</h2>
|
||||
{% include 'forums/_post_children.html' with post=post %}
|
||||
{% include 'forums/_reply.html' with post=post %}
|
||||
</div>
|
||||
<div class="item">
|
||||
<form method="POST" action="{%url forums.views.reply post.id %}">
|
||||
|
Reference in New Issue
Block a user