@extends('layout') @section('title', 'Edit Administrator') @section('content') {{ Form::model($administrator, array('method' => 'PUT', 'route' => array('administrators.update', $administrator->id))) }}

Edit An Administrator

@if(Session::has('message')) @endif

Go ahead and change the fields that you want to alter. Any fields left untouched will remain the same.

{{ Form::label('name', 'Full Name') }} {{ Form::text('name', $administrator->name, array('class' => 'form-control')) }}
{{ Form::label('email', 'E-Mail Address') }} {{ Form::text('email', $administrator->email, array('class' => 'form-control')) }}
{{ Form::label('phone', 'Telephone Number') }} {{ Form::text('phone', $administrator->phone, array('class' => 'form-control')) }}
{{ Form::label('jobtitle', 'Job Title') }} {{ Form::text('jobtitle', $administrator->jobtitle, array('class' => 'form-control')) }}
{{ Form::label('password', 'Password') }} {{ Form::password('password', array('class' => 'form-control', 'placeholder' => 'Enter a new password if you want to change it, otherwise leave blank')) }}

Functions

{{ Form::submit('Update Administrator Details', array('class' => 'btn btn-success btn-block')) }} Delete
{{ Form::close() }}
Cancel and go to detail view Cancel and go to customers
@stop