@extends('admin/layouts/Adminlayout') {{-- Page Title --}} @section('pagetitle')

Users

@endsection {{-- Page content --}} @section('content')
{{ Form::open(array('url'=>'admin/users/add','id'=>'new_user'),'POST')}}
@foreach( $errors->all() as $message ) {{ $message }}
@endforeach
{{ Form::label('type','Type')}}
{{ Form::select('user_type',$users_type,null, array('id'=>'user_type','class'=>'form-control')) }} @if ($errors->first('user_type')) {{ $errors->first('user_type', ':message') }} @endif
{{ Form::label('email_id','Email')}}
{{ Form::text('email', null, array('id'=>'email','class'=>'form-control')) }} @if ($errors->first('email')) {{ $errors->first('email', ':message') }} @endif
{{ Form::label('username','Username')}}
{{ Form::text('user_name', null, array('id'=>'user_name','class'=>'form-control','maxlength'=>16)) }} @if ($errors->first('user_name')) {{ $errors->first('user_name', ':message') }} @endif

(4 - 16 characters)

{{ Form::label('first_name','First Name')}}
{{ Form::text('first_name', null, array('id'=>'first_name','class'=>'form-control')) }}
{{ Form::label('last_name','Last Name')}}
{{ Form::text('last_name', null, array('id'=>'last_name','class'=>'form-control')) }}
{{ Form::label('pwd','Password')}}
{{ Form::password('pwd', array('id'=>'pwd','class'=>'form-control')) }} @if ($errors->first('pwd')) {{ $errors->first('pwd', ':message') }} @endif

(Min. 6 characters)

{{ Form::label('confirm_pwd','Confirm Password')}}
{{ Form::password('confirm_pwd',array('id'=>'confirm_pwd','class'=>'form-control')) }} @if ($errors->first('confirm_pwd')) {{ $errors->first('confirm_pwd', ':message') }} @endif
@stop