@extends('layout') @section('title', 'Add an Administrator') @section('content') {{ Form::open(['route' => 'administrators.store']) }}

Add An Administrator

@if(Session::has('message')) @endif
{{ Form::label('email', 'E-Mail Address') }} {{ Form::text('email', false, array('class' => 'form-control', 'placeholder' => 'Please enter the administrator\'s e-mail address')) }}
{{ $errors->first('email', '

:message

') }}
{{ Form::label('name', 'Full Name') }} {{ Form::text('name', false, array('class' => 'form-control', 'placeholder' => 'Please enter the administrator\'s full name')) }}
{{ $errors->first('name', '

:message

') }}
{{ Form::label('jobtitle', 'Job Title') }} {{ Form::text('jobtitle', false, array('class' => 'form-control', 'placeholder' => 'Please enter the administrator\'s job title')) }}
{{ $errors->first('jobtitle', '

:message

') }}
{{ Form::label('phone', 'Telephone Number') }} {{ Form::text('phone', false, array('class' => 'form-control', 'placeholder' => 'Please that administrator\'s telephone number')) }}
{{ $errors->first('phone', '

:message

') }}
{{ Form::label('password', 'Password') }} {{ Form::password('password', array('class' => 'form-control', 'placeholder' => 'Please enter a password')) }}
{{ $errors->first('password', '

:message

') }}

Functions

{{ Form::submit('Add New Administrator', array('class' => 'btn btn-success btn-block')) }}
{{ Form::close() }}
Cancel and go to administrators
@stop