diff options
| author | ctrlcctrlv <wizardchan@hush.com> | 2013-08-08 19:30:05 +0000 |
|---|---|---|
| committer | ctrlcctrlv <wizardchan@hush.com> | 2013-08-08 19:30:05 +0000 |
| commit | 7205801ced0f3b09166f388362f253a613b5ceb2 (patch) | |
| tree | 29d52d4d20c92da089f48f9108d520b4c9d4a9bb /templates | |
| parent | 4a8fbb5f6dd9fd8bae1abc7fb2b6249770eb4f7f (diff) | |
Optionally use email selectbox
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/post_form.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/templates/post_form.html b/templates/post_form.html index 12f1186b..fad81e85 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -25,11 +25,16 @@ {{ antibot.html() }} </th> <td> + {% if config.field_email_selectbox %} + <select name="email" id="email_selectbox" autocomplete="off"> + <option value=""></option> + <option value="sage">sage</option> + <option value="noko">noko</option> + </select> + {% else %} <input type="text" name="email" size="25" maxlength="40" autocomplete="off"> - {{ antibot.html() }} - {% 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))) %} - <input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" />{% if config.spoiler_images %} <input id="spoiler" name="spoiler" type="checkbox"> <label for="spoiler">{% trans %}Spoiler Image{% endtrans %}</label>{% endif %} {% endif %} + {{ antibot.html() }} </td> </tr>{% endif %} {% if 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)) %}<tr> |
