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

Add accept attribute
pull/86/head^2
daniel 8 years ago committed by GitHub
commit f424adfe83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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>

@ -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>

Loading…
Cancel
Save