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

Users

@endsection {{-- Page content --}} @section('content')
{{ Form::open(array('url'=>'admin/users/'.$user_det->id.'/edit','id'=>'edit_user'),'POST')}}
{{ Form::label('type','Type')}}
{{ Form::select('user_type',$users_type,$user_det->type, 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', $user_det->email , array('id'=>'email','class'=>'form-control')) }} @if ($errors->first('email')) {{ $errors->first('email', ':message') }} @endif
{{ Form::label('username','Username')}}
{{ Form::text('user_name', $user_det->username, 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', $user_det->first_name, array('id'=>'first_name','class'=>'form-control')) }}
{{ Form::label('last_name','Last Name')}}
{{ Form::text('last_name', $user_det->last_name, array('id'=>'last_name','class'=>'form-control')) }}
@stop