Improved form spacing

This commit is contained in:
Bernd Bestel
2020-11-09 21:30:22 +01:00
parent 44eb74ca52
commit ad3b91ef98
14 changed files with 59 additions and 36 deletions

View File

@@ -63,14 +63,24 @@
<div id="datetimepicker2-earlier-than-info"
class="form-text text-info font-italic d-none">{{ $earlierThanInfoText }}</div>
@if(isset($shortcutValue) && isset($shortcutLabel))
<div class="form-check w-100">
<input class="form-check-input"
<div class="form-group mt-n2 mb-0>
<div class="
custom-control
custom-checkbox">
<input type="hidden"
name="datetimepicker2-shortcut"
value="0">
<input class="form-check-input custom-control-input"
type="checkbox"
id="datetimepicker2-shortcut"
name="datetimepicker2-shortcut"
value="1"
data-datetimepicker2-shortcut-value="{{ $shortcutValue }}">
<label class="form-check-label"
for="datetimepicker2-shortcut">{{ $__t($shortcutLabel) }}</label>
<label class="form-check-label custom-control-label"
for="datetimepicker2-shortcut">{{ $__t($shortcutLabel) }}
</label>
</div>
@endif
</div>
@endif
</div>
</div>