make tags required in the HTML form

This commit is contained in:
Shish 2012-06-27 11:13:36 +01:00
parent 53ad7d4a2f
commit 8b83b90b53

View file

@ -322,7 +322,7 @@ class UploadTheme extends Themelet {
<div class='mini_upload'>
".make_form(make_link("upload"), "POST", $multipart=True)."
$upload_list
<input name='tags' type='text' placeholder='tagme' class='autocomplete_tags'>
<input name='tags' type='text' placeholder='tagme' class='autocomplete_tags' required='required'>
<input type='submit' value='Post'>
</form>
<small>(Max file size is $max_kb)</small>