summaryrefslogtreecommitdiff
path: root/templates/post_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post_form.html')
-rw-r--r--templates/post_form.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/post_form.html b/templates/post_form.html
index 92aa325a..93ca821e 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -85,6 +85,13 @@
</th>
<td>
<input type="file" name="file">
+ {% if config.allow_upload_by_url %}
+ <br>
+ <div style="float:none;text-align:left">
+ <label for="file_url">{% trans %}Or URL{% endtrans %}</label>:
+ <input style="display:inline" type="text" id="file_url" name="file_url" size="35">
+ </div>
+ {% endif %}
{{ antibot.html() }}
</td>
</tr>