summaryrefslogtreecommitdiffhomepage
path: root/apioforum/templates/view_forum.html
diff options
context:
space:
mode:
Diffstat (limited to 'apioforum/templates/view_forum.html')
-rw-r--r--apioforum/templates/view_forum.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/apioforum/templates/view_forum.html b/apioforum/templates/view_forum.html
index 475fdc2..978f1a2 100644
--- a/apioforum/templates/view_forum.html
+++ b/apioforum/templates/view_forum.html
@@ -49,6 +49,16 @@
{% else %}
please log in to create a new thread
{% endif %}
+<form class="inline-form small-form" method="get">
+ <label for="sortby">sort threads by</label>
+ <select name="sortby" name="sortby">
+ <option selected value="ad">last activity (newest first)</option>
+ <option value="aa">last activity (oldest first)</option>
+ <option value="cd">creation time (newest first)</option>
+ <option value="ca">creation time (oldest first)</option>
+ </select>
+ <input type="submit" value="go">
+</form>
</p>
<div class="thread-list">
{%for thread in threads%}