BookStack/resources/views/search/form/type-filter.blade.php
2020-06-27 13:29:00 +01:00

10 lines
314 B
PHP

{{--
@checked - If the option should be pre-checked
@entity - Entity Name
@transKey - Translation Key
--}}
<label class="inline checkbox text-{{$entity}}">
<input type="checkbox" name="types[]"
@if($checked) checked @endif
value="{{$entity}}">{{ trans('entities.' . $transKey) }}
</label>