mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +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
|
@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…
Reference in a new issue