forked from leftypol/leftypol
Optional: Allow uploading by URL
This commit is contained in:
parent
a7a93ece3d
commit
0de0bc6ceb
4 changed files with 54 additions and 4 deletions
|
@ -73,6 +73,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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue