##// END OF EJS Templates
Added license text.
Added license text.

File last commit:

r22:2fc818b6 default
r23:8653b542 default
Show More
thread.html
32 lines | 878 B | text/html | HtmlLexer
{% extends "base.html" %}
{% block content %}
{% if posts %}
{% for post in posts %}
{% if post.image %}
<div class="block">
<a href="{{ post.image.url }}"><img
src="{{ post.image.url_200x150 }}" />
</a>
</div>
{% endif %}
<div class="block">
<span class="title">{{ post.title }}</span>
<span class="post_id">(#{{ post.id }})</span><br />
<span class="text">{{ post.text }}</span><br />
</div>
<hr />
{% endfor %}
{% else %}
No threads found.
<hr />
{% endif %}
<div class="post-form">
<form enctype="multipart/form-data" method="post">{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Post!" />
</form>
</div>
{% endblock %}