@extends('admin/layouts/default') {{-- Page title --}} @section('title') Edit a employe @parent @stop @section('content')

Employes

Edit employe

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::model($employe, ['method' => 'PATCH', 'action' => ['EmployesController@update', $employe->id]]) !!}
{!! Form::label('fname', 'Fname: ') !!} {!! Form::text('fname', null, ['class' => 'form-control']) !!}
{!! Form::label('lname', 'Lname: ') !!} {!! Form::text('lname', null, ['class' => 'form-control']) !!}
{!! Form::label('address', 'Address: ') !!} {!! Form::text('address', null, ['class' => 'form-control']) !!}
{!! Form::label('sex', 'Sex: ') !!} {!! Form::text('sex', null, ['class' => 'form-control']) !!}
{!! Form::label('age', 'Age: ') !!} {!! Form::text('age', null, ['class' => 'form-control']) !!}
{!! Form::label('phone', 'Phone: ') !!} {!! Form::text('phone', null, ['class' => 'form-control']) !!}
{!! Form::label('kebele', 'Kebele: ') !!} {!! Form::text('kebele', null, ['class' => 'form-control']) !!}
{!! Form::label('position', 'Position: ') !!}
{!! Form::submit('Update', ['class' => 'btn btn-primary form-control']) !!}
{!! Form::close() !!}
@stop