@section('css') @parent @endsection {{-- show all error --}} @if ($errors->any())
Whoops! These are the errors.

@endif
{!! Form::label('date', __('models/tasks.fields.date').' *') !!}
{!! Form::text('start_date', null, ['class' => $errors->has('start_date') ? 'form-control is-invalid datePickerProfile' : 'form-control datePickerProfile']) !!} @if ($errors->has('start_date')) {{ $errors->first('start_date') }} @endif
{!! Form::label('name', __('models/tasks.fields.name') .' *') !!} {!! Form::text('title', null, ['class' => $errors->has('title') ? 'form-control is-invalid' : 'form-control']) !!} @if ($errors->has('title')) {{ $errors->first('title') }} @endif
{!! Form::label('assigned', __('models/tasks.fields.assigned').' *') !!}
{!! Form::select('assigned', $users, null , ['class' => $errors->has('assigned') ? 'form-control is-invalid' : 'form-control', 'id' => 'assigned']) !!} @if ($errors->has('assigned')) {{ $errors->first('assigned') }} @endif
{!! Form::label('description', __('models/tasks.fields.description')) !!} {!! Form::text('description', null, ['class' => $errors->has('description') ? 'form-control is-invalid' : 'form-control']) !!} @if ($errors->has('description')) {{ $errors->first('description') }} @endif
{!! Form::label('end_date', __('models/tasks.fields.end_date')) !!}
{!! Form::text('end_date', null, ['class' => $errors->has('end_date') ? 'form-control is-invalid datePickerProfile' : 'form-control datePickerProfile']) !!} @if ($errors->has('end_date')) {{ $errors->first('end_date') }} @endif
{!! Form::label('status', __('models/tasks.fields.status')) !!}
{!! Form::select('status', [1=>'Open',2=>'Close'], null , ['class' => $errors->has('status') ? 'form-control is-invalid' : 'form-control', 'id' => 'status']) !!} @if ($errors->has('status')) {{ $errors->first('status') }} @endif
{!! Form::submit('Save', ['class' => 'btn btn-danger btn-flat btn-lg']) !!} Cancel
@section('scripts') @parent @endsection