Add HTML accept attribute to add file modal to suggest allowed filetypes to user

This commit is contained in:
Marcus Hill 2022-01-09 15:36:28 +00:00
parent 33d76f556b
commit b27edc9d38
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@
</div>
<div class="form-group">
<input type="file" class="form-control-file" name="file">
<input type="file" class="form-control-file" name="file" accept=".jpg, .gif, .png, .pdf, .txt, .doc, .docx, .csv, .xls, .xlsx, .zip, .tar, .gz">
</div>
</div>