@extends('layouts/edit-form', [ 'createText' => trans('admin/departments/table.create') , 'updateText' => trans('admin/departments/table.update'), 'helpTitle' => trans('admin/departments/table.about_locations_title'), 'helpText' => trans('admin/departments/table.about_locations'), 'formAction' => ($item) ? route('departments.update', ['department' => $item->id]) : route('departments.store'), ]) {{-- Page content --}} @section('inputFields') @include ('partials.forms.edit.name', ['translated_name' => trans('admin/departments/table.name')]) @include ('partials.forms.edit.company')
{{ Form::select('manager_id', $manager_list , Input::old('manager_id', $item->manager_id), array('class'=>'select2', 'style'=>'width:350px')) }} {!! $errors->first('manager_id', ':message') !!}
{{ Form::select('location_id', $location_list , Input::old('location_id', $item->location_id), array('class'=>'select2', 'style'=>'width:350px')) }} {!! $errors->first('location_id', ':message') !!}
@stop