@extends('layouts.master') @section('page_title') @if(isset($page_title)) {{ $page_title }} @endif @endsection @section('content')
Update Team Details @include('commons.notifications')
{{-- start of content --}}

{!! Form::model($staff_member, [ 'method' => 'PATCH', 'url' => ['staffmembers', $staff_member->id], 'class' => 'form-horizontal form-label-left' ]) !!}
{!! Form::text('name', old('name'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter Full Name' , 'id' => 'staffName', 'required' => 'true']) !!} {!! $errors->first('name', '

:message

') !!}
{!! Form::select('gender', $gender_arr, old('gender'), ['class' => 'form-control', 'placeholder'=>'Select Gender' , 'id' => 'gender', 'required' => 'true']) !!} {!! $errors->first('gender', '

:message

') !!}
{!! Form::text('phone', old('phone'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter Mobile Number' , 'id' => 'phone', 'required' => 'true']) !!} {!! $errors->first('phone', '

:message

') !!}
{!! Form::text('email', old('email'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter Email Address' , 'id' => 'email', 'required' => 'true']) !!} {!! $errors->first('email', '

:message

') !!}
{!! Form::text('personal_email', old('personal_email'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter Personal Email' , 'id' => 'personalEmail', 'required' => 'true']) !!} {!! $errors->first('personal_email', '

:message

') !!}
{!! Form::select('department_id', $departments, old('department_id'), ['class' => 'form-control', 'placeholder'=>'Select Department' , 'id' => 'departmentID', 'required' => 'true']) !!} {!! $errors->first('department_id', '

:message

') !!}
{!! Form::select('status', $status ,old('status'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Select Status ' , 'id' => 'status', 'required' => 'true']) !!} {!! $errors->first('status', '

:message

') !!}
{!! Form::select('location_country', $countries, old('location_country'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Select Country ' , 'id' => 'locationCountry', 'required' => 'true']) !!} {!! $errors->first('location_country', '

:message

') !!}
{!! Form::text('hire_date', old('hire_date'), ['class' => 'form-control col-md-7 col-xs-12', 'placeholder'=>'Enter Hire Date' , 'id' => 'hireDate']) !!} {!! $errors->first('hire_date', '

:message

') !!}
{!! Form::close() !!}
{{-- end of x_content --}}
{{-- end of x_panel --}}
@endsection @section('javascript') @endsection