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

Departmenthistories

Edit departmenthistory

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::model($departmenthistory, ['method' => 'PATCH', 'action' => ['DepartmenthistoriesController@update', $departmenthistory->id]]) !!}
{!! Form::label('empid', 'Empid: ') !!} {!! Form::text('empid', null, ['class' => 'form-control']) !!}
{!! Form::label('department', 'Department: ') !!} {!! Form::text('department', null, ['class' => 'form-control']) !!}
{!! Form::label('date', 'Date: ') !!} {!! Form::text('date', null, ['class' => 'form-control']) !!}
{!! Form::label('status', 'Status: ') !!} {!! Form::text('status', null, ['class' => 'form-control']) !!}
{!! Form::submit('Update', ['class' => 'btn btn-primary form-control']) !!}
{!! Form::close() !!}
@stop