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
|
||||
<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>
|
||||
|
@ -59,4 +59,4 @@
|
|||
</div>
|
||||
|
||||
|
||||
@endsection
|
||||
@endsection
|
||||
|
|
|
@ -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>
|
||||
|
@ -50,4 +50,4 @@
|
|||
</div>
|
||||
|
||||
|
||||
@endsection
|
||||
@endsection
|
||||
|
|
Loading…
Reference in a new issue