@extends('themes.default1.agent.layout.agent') @section('Users') class="active" @stop @section('user-bar') active @stop @section('user') class="active" @stop @section('HeadInclude') @stop @section('PageHeader')

{!! Lang::get('lang.create') !!}

@stop @section('breadcrumbs') @stop @section('content') {!! Form::open(['action'=>'Agent\helpdesk\UserController@store','method'=>'post']) !!}

User Credentials

@if(Session::has('errors'))
Alert!
@if($errors->first('email'))
  • {!! $errors->first('email', ':message') !!}
  • @endif @if($errors->first('full_name'))
  • {!! $errors->first('full_name', ':message') !!}
  • @endif @if($errors->first('mobile'))
  • {!! $errors->first('mobile', ':message') !!}
  • @endif @if($errors->first('ext'))
  • {!! $errors->first('ext', ':message') !!}
  • @endif @if($errors->first('phone_number'))
  • {!! $errors->first('phone_number', ':message') !!}
  • @endif @if($errors->first('active'))
  • {!! $errors->first('active', ':message') !!}
  • @endif
    @endif
    {!! Form::label('email',Lang::get('lang.email')) !!} {!! Form::email('email',null,['class' => 'form-control']) !!}
    {!! Form::label('full_name',Lang::get('lang.full_name')) !!} {!! Form::text('full_name',null,['class' => 'form-control']) !!}
    {!! Form::label('mobile',Lang::get('lang.mobile')) !!} {!! Form::text('mobile',null,['class' => 'form-control']) !!}
    {!! Form::text('ext',null,['class' => 'form-control']) !!}
    {!! Form::text('phone_number',null,['class' => 'form-control']) !!}
    {!! Form::label('active',Lang::get('lang.status')) !!}
    {!! Form::radio('active','1',true) !!} {{Lang::get('lang.active')}}
    {!! Form::radio('active','0') !!} {{Lang::get('lang.inactive')}}
    {!! Form::label('internal_note',Lang::get('lang.internal_notes')) !!} {!! Form::textarea('internal_note',null,['class' => 'form-control', 'size' => '30x5']) !!}
    @stop