krafthaus/bauhaus

View on GitHub
src/views/models/fields/_wysiwyg.blade.php

Summary

Maintainability
A
0 mins
Test Coverage
<div class="form-group {{ $errors->has($field->getName()) ? 'has-error' : '' }}">
    <label class="col-sm-3 control-label">{{ $field->getLabel() }}</label>
    <div class="col-sm-9">
        {{ Form::textarea($field->getName(), $field->getValue(), $field->getAttributes()) }}
        @if ($field->getDescription())
            <p class="help-block">{{ $field->getDescription() }}</p>
        @endif
    </div>
</div>