administrcms/form

View on GitHub
src/Views/checkbox.blade.php

Summary

Maintainability
A
0 mins
Test Coverage
<label for="{{ $field->getName() }}">{{ $field->getLabel() }}</label>
<input type="checkbox" {!! $field->attributes() !!} id="{{ $field->getName() }}" name="{{ $field->getName() }}" value="{{ $field->getValue() }}">
<span>{{ $errors->first($field->getName()) }}</span>