mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-11 00:54:50 +00:00
Add required tags, fix #138
This commit is contained in:
parent
99490a9d95
commit
2136760e6b
1 changed files with 2 additions and 2 deletions
|
@ -18,14 +18,14 @@
|
||||||
<span class="icon-picture mr-1"></span>
|
<span class="icon-picture mr-1"></span>
|
||||||
Upload Image
|
Upload Image
|
||||||
</label>
|
</label>
|
||||||
<input type="file" class="custom-file-input" name="photo" accept="image/*">
|
<input type="file" class="custom-file-input" name="photo" accept="image/*" required>
|
||||||
<small class="form-text text-muted">
|
<small class="form-text text-muted">
|
||||||
Max Size: @maxFileSize(). Supported formats: jpeg, png, gif, bmp.
|
Max Size: @maxFileSize(). Supported formats: jpeg, png, gif, bmp.
|
||||||
</small>
|
</small>
|
||||||
</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>
|
||||||
<input type="text" class="form-control" name="caption" placeholder="Add a caption here">
|
<input type="text" class="form-control" name="caption" placeholder="Add a caption here" required>
|
||||||
<small class="form-text text-muted">
|
<small class="form-text text-muted">
|
||||||
Max length: {{config('pixelfed.max_caption_length')}} characters.
|
Max length: {{config('pixelfed.max_caption_length')}} characters.
|
||||||
</small>
|
</small>
|
||||||
|
|
Loading…
Reference in a new issue