Download this file

new_topic_post.html    21 lines (20 with data), 792 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
<form method="post" action="{{action}}">
{% if show_subject %}
<label for="subject" class="cr">Subject:</label>
<input name="subject"{% if value %} value="{{value.subject or '(no subject)'}}"{% endif %}/>
<div>&nbsp;</div>
{% endif %}
{% if forums %}
<label for="forum" class="cr">Forum:</label>
<select name="forum">
{% for forum in forums %}
<option value="{{forum.shortname}}">{{forum.name}}</option>
{% endfor %}
</select>
<div>&nbsp;</div>
{% endif %}
<label for="text" class="cr">Description:</label>
<textarea name="text" rows="12" class="wide">{{(value and 'text' in value) and value['text'] or ''}}</textarea>
<div>&nbsp;</div>
<input type="submit" value="{{submit_text}}"/>
</form>