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>
|
||||
Upload Image
|
||||
</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">
|
||||
Max Size: @maxFileSize(). Supported formats: jpeg, png, gif, bmp.
|
||||
</small>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<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">
|
||||
Max length: {{config('pixelfed.max_caption_length')}} characters.
|
||||
</small>
|
||||
|
|
Loading…
Reference in a new issue