@extends('layouts.app') @section('content')

Update User

{{ Form::model($user, array('route' => array('user.update', $user->id),'class' => 'form-horizontal', 'method' => 'PUT')) }}
{{ Form::text('name', null, array('class' => 'form-control')) }} @if($errors->has('name')) {{ $errors->first('name') }} @endif
{{ Form::text('email', null, array('class' => 'form-control')) }} @if($errors->has('email')) {{ $errors->first('email') }} @endif
@if($errors->has('password')) {{ $errors->first('password') }} @endif
{{--
{{ Form::text('education', null, array('class' => 'form-control')) }} @error('education') {{ $message }} @enderror
--}}
{{ Form::text('phone', null, array('class' => 'form-control')) }}
{{ Form::text('designation', null, array('class' => 'form-control')) }}
@endsection