{!! Form::label('user_id', trans('general.usuario')) !!} {!! Form::select('user_id', $users, null, ['class' => 'form-control']) !!} @if ($errors->has('user_id')) {{ $errors->first('user_id') }} @endif
{!! Form::label('subject', trans('general.subject')) !!} {!! Form::text('subject', isset($incidences->user_id) ? $incidences->subject : null, ['class' => 'form-control']) !!} @if ($errors->has('subject')) {{ $errors->first('subject') }} @endif
{!! Form::label('date', trans('general.desde')) !!}
{!! Form::text('date', null, ['class' => 'form-control datepicker', 'data-inputmask' => "'alias': 'mm/dd/yyyy'", 'data-mask' => '']) !!}
@if ($errors->has('date')) {{ $errors->first('date') }} @endif
{!! Form::label('comments', trans('general.incidence').' '.trans('general.descripcion')) !!} {!! Form::textarea('comments', isset($incidences->user_id) ? $incidences->comments : null, ['class' => 'form-control']) !!} @if ($errors->has('comments')) {{ $errors->first('comments') }} @endif
{!! Form::submit(trans('general.save'), ['class' => 'btn btn-success btn-flat']) !!} {{trans('general.cancel')}}