##// END OF EJS Templates
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.

File last commit:

r16:fdfec9a2 default
r16:fdfec9a2 default
Show More
posting_general.html
27 lines | 587 B | text/html | HtmlLexer
{% extends "base.html" %}
{% block content %}
{% if threads %}
{% for thread in threads %}
<span class="title">{{ thread.title }}</span><br />
<span class="text">{{ thread.text }}</span><br />
<a class="link" href="/boards/id/{{ thread.id }}/">View thread</a>
<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 %}