You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
@php
|
|
|
|
/** @var \App\View\Widget $w */
|
|
|
|
@endphp
|
|
|
|
|
|
|
|
<div class="row form-group">
|
|
|
|
<label for="field-{{ $w->name }}" class="col-md-{{$w->labelCols}} col-form-label text-md-right">{{ $w->label }}</label>
|
|
|
|
<div class="col-md-{{$w->fieldCols}}">
|
|
|
|
<textarea id="field-{{ $w->name }}"
|
|
|
|
name="{{ $w->name }}"
|
|
|
|
class="form-control{{ $errors->has($w->name) ? ' is-invalid' : '' }}"
|
|
|
|
{!! $w->attributes !!}>{{$w->value}}</textarea>
|
|
|
|
|
|
|
|
@if ($errors->has($w->name))
|
|
|
|
<span class="invalid-feedback" role="alert">
|
|
|
|
<strong>{{ $errors->first($w->name) }}</strong>
|
|
|
|
</span>
|
|
|
|
@endif
|
|
|
|
</div>
|
|
|
|
@include('form._help')
|
|
|
|
</div>
|