1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 09:46:49 +00:00

Merge pull request #83 from Zatnosk/add-accept-attribute

Add accept attribute
This commit is contained in:
daniel 2018-06-01 16:29:30 -06:00 committed by GitHub
commit f424adfe83
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@
@csrf @csrf
<div class="form-group"> <div class="form-group">
<label class="font-weight-bold text-muted small">Upload Image</label> <label class="font-weight-bold text-muted small">Upload Image</label>
<input type="file" class="form-control-file" name="photo"> <input type="file" class="form-control-file" name="photo" accept="image/*">
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="font-weight-bold text-muted small">Caption</label> <label class="font-weight-bold text-muted small">Caption</label>

View file

@ -24,7 +24,7 @@
@csrf @csrf
<div class="form-group"> <div class="form-group">
<label class="font-weight-bold text-muted small">Upload Image</label> <label class="font-weight-bold text-muted small">Upload Image</label>
<input type="file" class="form-control-file" name="photo"> <input type="file" class="form-control-file" name="photo" accept="image/*">
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="font-weight-bold text-muted small">Caption</label> <label class="font-weight-bold text-muted small">Caption</label>