##// 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
/ templates / posting_general.html
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9 {% extends "base.html" %}
{% block content %}
Ilyas
Added creating new thread form...
r14 {% if threads %}
{% for thread in threads %}
neko259
Added a page to view the thread.
r20 <span class="title">{{ thread.title }}</span>
<a class="link" href="/boards/post/{{ thread.id }}/">
[View]</a><br />
neko259
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
r16 <span class="text">{{ thread.text }}</span><br />
<hr />
Ilyas
Added creating new thread form...
r14 {% endfor %}
{% else %}
No threads found.
neko259
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
r16 <hr />
Ilyas
Added creating new thread form...
r14 {% endif %}
neko259
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
r16 <div class="post-form">
<form action="/boards/" method="post">{% csrf_token %}
Ilyas
Added creating new thread form...
r14 {{ form.as_p }}
neko259
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
r16 <input type="submit" value="Post!" />
Ilyas
Added creating new thread form...
r14 </form>
neko259
Added a text area to the posting form. Added a basic CSS style. Changed threads list a bit.
r16 </div>
Ilyas
Added creating new thread form...
r14
<HR />
Ilyas
Added admin loing possibility. Now it is abailable under {BASE_URL}/boards/login...
r9
{% endblock %}