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

File last commit:

r22:2fc818b6 default
r23:8653b542 default
Show More
posting_general.html
33 lines | 964 B | text/html | HtmlLexer
{% extends "base.html" %}
{% block content %}
{% if threads %}
{% for thread in threads %}
{% if thread.image %}
<div class="block">
<a href="{{ thread.image.url }}"><img
src="{{ thread.image.url_200x150 }}" />
</a>
</div>
{% endif %}
<div class="block">
<span class="title">{{ thread.title }}</span>
<a class="link" href="/thread/{{ thread.id }}/">
[View]</a><br />
<span class="text">{{ thread.text }}</span><br />
</div>
<hr />
{% endfor %}
{% else %}
<span class="text">No threads found.</span>
<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 %}