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

Departments

Edit department

@if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif {!! Form::model($department, ['method' => 'PATCH', 'action' => ['DepartmentsController@update', $department->id]]) !!}
{!! Form::label('departmentname', 'Departmentname: ') !!} {!! Form::text('departmentname', null, ['class' => 'form-control']) !!}
{!! Form::label('collegename', 'Collegename: ') !!} {!! Form::text('collegename', null, ['class' => 'form-control']) !!}
{!! Form::label('phone', 'Phone: ') !!} {!! Form::text('phone', null, ['class' => 'form-control']) !!}
{!! Form::label('email', 'Email: ') !!} {!! Form::text('email', null, ['class' => 'form-control']) !!}
{!! Form::label('resientfullname', 'Resientfullname: ') !!} {!! Form::text('resientfullname', null, ['class' => 'form-control']) !!}
{!! Form::submit('Update', ['class' => 'btn btn-primary form-control']) !!}
{!! Form::close() !!}
@stop