{!! Form::open(array('files'=>'false', 'role' => 'form', 'class'=>'form-horizontal form-groups')) !!}
{!! Form::label('name', $data['attributes']['name'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('name', $data['model']->name, ['class' => 'form-control', 'id' => 'name', 'type' => 'text', 'placeholder' => $data['placeholder']['name']]) !!}

{{ $errors->error->first('name') }}

{!! Form::label('short_name', $data['attributes']['short_name'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::text('short_name', $data['model']->short_name, ['class' => 'form-control', 'id' => 'short_name', 'type' => 'text', 'placeholder' => $data['placeholder']['short_name']]) !!}

{{ $errors->error->first('short_name') }}

{!! Form::label('type', $data['attributes']['type'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('type', $data['model']->positionTypes('Select any'), $data['model']->type, ['class' => 'form-control', 'id' => 'type']) !!}

{{ $errors->error->first('type') }}

{{--
{!! Form::label('grade_id_fk', $data['attributes']['grade_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('grade_id_fk', $data['modelGrade']->options('Select any'), $data['model']->grade_id_fk, ['class' => 'form-control getLevel', 'id' => 'grade_id_fk']) !!}

{{ $errors->error->first('grade_id_fk') }}

{!! Form::label('level_id_fk', $data['attributes']['level_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('level_id_fk', array(''=>'Select any'), $data['model']->level_id_fk, ['class' => 'form-control getDepartment', 'id' => 'level_id_fk']) !!}

{{ $errors->error->first('level_id_fk') }}

{!! Form::label('department_id_fk', $data['attributes']['department_id_fk'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('department_id_fk', array(''=>'Select any'), $data['model']->department_id_fk, ['class' => 'form-control', 'id' => 'department_id_fk']) !!}

{{ $errors->error->first('department_id_fk') }}

--}}
{!! Form::label('status', $data['attributes']['status'], ['class' => 'col-sm-2 control-label']) !!}
{!! Form::select('status', $data['easycode']->getStatusOptions(), $data['model']->status, ['class' => 'form-control', 'id' => 'status']) !!}

{{ $errors->error->first('status') }}

{!! Form::submit('Submit', ['id' => 'add', 'class' => 'btn btn-info']); !!} Close
{!! Form::close() !!}
@section('footerAssets') {{--