datatable.directory codebase
				https://datatable.directory/
			
			
		
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							25 lines
						
					
					
						
							848 B
						
					
					
				
			
		
		
	
	
							25 lines
						
					
					
						
							848 B
						
					
					
				@php
 | 
						|
/** @var \App\View\Widget $w */
 | 
						|
@endphp
 | 
						|
 | 
						|
<div class="row form-group">
 | 
						|
  <div class="col-md-{{$w->fieldCols}} offset-md-{{$w->labelCols}}">
 | 
						|
    <div class="custom-control custom-checkbox{{ $errors->has($w->name) ? ' is-invalid' : '' }}">
 | 
						|
      <input type="checkbox" class="custom-control-input"
 | 
						|
             id="field-{{ $w->name }}"
 | 
						|
             {{\MightyPork\Utils\Utils::parseBool($w->value)?'checked':''}}
 | 
						|
             name="{{ $w->name }}">
 | 
						|
      <label class="custom-control-label" for="field-{{ $w->name }}">
 | 
						|
        {{ $w->label }}
 | 
						|
      </label>
 | 
						|
      @include('form._help', ['mobile' => true])
 | 
						|
    </div>
 | 
						|
 | 
						|
    @if ($errors->has($w->name))
 | 
						|
      <span class="invalid-feedback" role="alert">
 | 
						|
        <strong>{{ $errors->first($w->name) }}</strong>
 | 
						|
      </span>
 | 
						|
    @endif
 | 
						|
  </div>
 | 
						|
  @include('form._help', ['mobile' => false])
 | 
						|
</div>
 | 
						|
 |