mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 01:36:43 +00:00
Merge pull request #83 from Zatnosk/add-accept-attribute
Add accept attribute
This commit is contained in:
commit
f424adfe83
2 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,7 @@
|
|||
@csrf
|
||||
<div class="form-group">
|
||||
<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 class="form-group">
|
||||
<label class="font-weight-bold text-muted small">Caption</label>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
@csrf
|
||||
<div class="form-group">
|
||||
<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 class="form-group">
|
||||
<label class="font-weight-bold text-muted small">Caption</label>
|
||||
|
|
Loading…
Reference in a new issue