summaryrefslogtreecommitdiff
path: root/templates/post_form.html
diff options
context:
space:
mode:
authorMichael Walker <mike@barrucadu.co.uk>2016-08-23 20:34:09 +0100
committerGitHub <noreply@github.com>2016-08-23 20:34:09 +0100
commit8dcb5c7d3b8a3661b34cf16a025cbb288b024e3a (patch)
tree0b0c97435b4483cf21d6dc4ebe5c578ae9a049a4 /templates/post_form.html
parentd3542f22adc6633a3a94666b5ca1c79a0af26140 (diff)
parent60e849bad07255082cf6095d58e609f56f23c790 (diff)
Merge pull request #67 from AshtonHarding/master
Update zine.html & banned.html & re-added spoiler button in post
Diffstat (limited to 'templates/post_form.html')
-rw-r--r--templates/post_form.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/post_form.html b/templates/post_form.html
index c7a94f8b..e6f201e6 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -52,6 +52,7 @@
<td>
<input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off">
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" />
+ <input id="spoiler" name="spoiler" type="checkbox"><label for="spoiler">Spoiler Image</label>
</td>
</tr>
{% endif %}
@@ -66,6 +67,7 @@
{% if not (not (config.field_disable_subject or (id and config.field_disable_reply_subject)) or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %}
{% if not (not config.field_disable_email or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %}
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" />
+ <input id="spoiler" name="spoiler" type="checkbox"><label for="spoiler">Spoiler Image</label> <!-- General idea, but it might need those {% code %}-->
{% endif %}
{% endif %}
</td>