diff options
author | ubq323 <ubq323> | 2021-06-15 23:40:03 +0000 |
---|---|---|
committer | ubq323 <ubq323> | 2021-06-15 23:40:03 +0000 |
commit | 8ec18ae1d985aee2bcf146c1e4f783b91643406a (patch) | |
tree | 2ce44f58bf2be3a2e5ff140f6b1dd9174cb69efe /apioforum/templates/config_thread.html | |
parent | cdc3350992c11464c61782dd208d7671b56871ac (diff) | |
parent | 6096acce8b922af98e6846a687fcfd19cf0370cc (diff) |
merge tags into trunk
Diffstat (limited to 'apioforum/templates/config_thread.html')
-rw-r--r-- | apioforum/templates/config_thread.html | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/apioforum/templates/config_thread.html b/apioforum/templates/config_thread.html index b0dd5f0..973fbf5 100644 --- a/apioforum/templates/config_thread.html +++ b/apioforum/templates/config_thread.html @@ -1,13 +1,30 @@ {% extends 'base.html' %} +{% from 'common.html' import tag %} {% block header %}<h1>{% block title %}configure thread '{{thread.title}}'{% endblock %}</h1>{% endblock %} {% block content %} <form method="post"> +<fieldset> +<legend>title</legend> <p>if you want to change the title of this thread, make sure you check the "change title?" box.</p> <label for="do_title">change title?</label> -<input type="checkbox" name="do_title"><br> +<input type="checkbox" id="do_title" name="do_title"><br> <label for="title">thread title</label> <input type="text" id="title" name="title" value="{{thread.title}}"> -<br> +</fieldset> +<fieldset> +<legend>tags</legend> +<p>if you want to change the tags on this thread, make sure you check the "change tags?" box.</p> +<label for="do_chtags">change tags?</label> +<input type="checkbox" name="do_chtags" id="do_chtags"><br> +<ul> + {% for the_tag in avail_tags %} + <li> + <input type="checkbox" id="tag_{{the_tag.id}}" name="tag_{{the_tag.id}}" {%- if the_tag.id in thread_tags %} checked{% endif %}> + <label for="tag_{{the_tag.id}}">#{{the_tag.id}} {{tag(the_tag)}}</label> + </li> + {% endfor %} +</ul> +</fieldset> <p>confirm changes?</p> <input type="submit" value="confirm"> <a href="{{url_for('thread.view_thread',thread_id=thread.id)}}">cancel</a> |