[IMP] website_slides: force duration to be positive in upload slide widget
To avoid user to set a negative duration on slide they upload using the upload widget, a min=0 has been added to the duration input of that widget. Task ID 1981399 PR #43577
This commit is contained in:
committed by
Thibault Delavallée
parent
e52489bf99
commit
dd53c515c8
@@ -73,7 +73,7 @@
|
||||
<div class="form-group">
|
||||
<label for="duration" class="col-form-label">Duration</label>
|
||||
<div class="input-group">
|
||||
<input type="number" id="duration" name="duration" placeholder="Estimated slide completion time" class="form-control"/>
|
||||
<input type="number" id="duration" min="0" name="duration" placeholder="Estimated slide completion time" class="form-control"/>
|
||||
<div class="input-group-prepend">
|
||||
<span class="input-group-text">Minutes</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user