BookStackApp/BookStack

View on GitHub
resources/views/form/textarea.blade.php

Summary

Maintainability
A
0 mins
Test Coverage
<textarea id="{{ $name }}" name="{{ $name }}" rows="5"
          @if($errors->has($name)) class="text-neg" @endif>@if(isset($model) || old($name)){{ old($name) ? old($name) : $model->$name}}@endif</textarea>
@if($errors->has($name))
    <div class="text-neg text-small">{{ $errors->first($name) }}</div>
@endif