##// 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
posting_general.html
28 lines | 601 B | text/html | HtmlLexer
{% extends "base.html" %}
{% block content %}
{% if threads %}
{% for thread in threads %}
<span class="title">{{ thread.title }}</span>
<a class="link" href="/boards/post/{{ thread.id }}/">
[View]</a><br />
<span class="text">{{ thread.text }}</span><br />
<hr />
{% endfor %}
{% else %}
No threads found.
<hr />
{% endif %}
<div class="post-form">
<form action="/boards/" method="post">{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Post!" />
</form>
</div>
<HR />
{% endblock %}