##// END OF EJS Templates
Added a page to view the thread.
Added a page to view the thread.

File last commit:

r20:c63898fe default
r20:c63898fe default
Show More
thread.html
27 lines | 538 B | text/html | HtmlLexer
{% extends "base.html" %}
{% block content %}
{% if posts %}
{% for post in posts %}
<span class="title">{{ post.title }}</span>
<span class="post_id">(#{{ post.id }})</span><br />
<span class="text">{{ post.text }}</span><br />
<hr />
{% endfor %}
{% else %}
No threads found.
<hr />
{% endif %}
<div class="post-form">
<form method="post">{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Post!" />
</form>
</div>
<HR />
{% endblock %}