checkbox.blade.php 554 B

12345678910111213141516171819
  1. <div class="input-group input-group-sm">
  2. @php
  3. $checkbox = new \Dcat\Admin\Widgets\Checkbox($name, $options);
  4. if ($inline) $checkbox->inline();
  5. $checkbox->check(request($name, is_null($value) ? [] : $value))->circle(false);
  6. @endphp
  7. @if($showLabel)
  8. <div class="pull-left text-capitalize" style="margin-top: 6px;margin-right: 15px;">
  9. <b>{{ $label }}</b>
  10. </div>
  11. <div class="pull-left">
  12. {!! $checkbox !!}
  13. </div>
  14. @else
  15. {!! $checkbox !!}
  16. @endif
  17. </div>