checkbox.blade.php 556 B

123456789101112131415161718192021
  1. <div class="{{$viewClass['form-group']}} {!! !$errors->has($column) ?: 'has-error' !!}" >
  2. <label for="{{$id}}" class="{{$viewClass['label']}} control-label pt-0">{!! $label !!}</label>
  3. <div class="{{$viewClass['field']}}" id="{{ $id }}">
  4. @if($checkAll)
  5. {!! $checkAll !!}
  6. <hr style="margin-top: 10px;margin-bottom: 0;">
  7. @endif
  8. @include('admin::form.error')
  9. {!! $checkbox !!}
  10. <input type="hidden" name="{{$name}}[]">
  11. @include('admin::form.help-block')
  12. </div>
  13. </div>