mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 16:44:50 +00:00
Add character limit info
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
This commit is contained in:
parent
ba454e38e8
commit
7aea831a10
3 changed files with 5 additions and 5 deletions
|
@ -32,7 +32,7 @@ class StatusController extends Controller
|
|||
$this->validate($request, [
|
||||
'photo' => 'required|image|max:15000',
|
||||
'caption' => 'string|max:150',
|
||||
'nullable' => 'string|max:420'
|
||||
'description' => 'nullable|string|max:420'
|
||||
]);
|
||||
|
||||
$monthHash = hash('sha1', date('Y') . date('m'));
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<label class="font-weight-bold text-muted small">Alternative text</label>
|
||||
<input type="text" class="form-control" name="description" placeholder="Describe for the visually impaired">
|
||||
<input type="text" class="form-control" name="description" placeholder="Describe for the visually impaired. Up to 420 characters." maxlength="420">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-outline-primary btn-block">Post</button>
|
||||
</form>
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</div>
|
||||
<div class="form-group">
|
||||
<label class="font-weight-bold text-muted small">Alternative text</label>
|
||||
<input type="text" class="form-control" name="description" placeholder="Describe for the visually impaired">
|
||||
<input type="text" class="form-control" name="description" placeholder="Describe for the visually impaired. Up to 420 characters." maxlength="420">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-outline-primary btn-block">Post</button>
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue