1
0
mirror of https://github.com/cp6/my-idlers.git synced 2024-11-16 15:33:44 +01:00
my-idlers/resources/views/components/form-check.blade.php

8 lines
280 B
PHP

<div class="form-check mb-2">
<input class="form-check-input" name="{{$name}}" id="{{$id ?? 'formCheck'}}" type="checkbox"
value="1" @if(isset($checked) && $checked === '1') checked @endif>
<label class="form-check-label">
{{$text}}
</label>
</div>