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

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

@stop @section('content') {!! Form::model($users,['url'=>'user/'.$users->id,'method'=>'PATCH']) !!}

User Credentials

@if(Session::has('errors'))
Alert!
@if($errors->first('email'))
  • {!! $errors->first('email', ':message') !!}
  • @endif @if($errors->first('user_name'))
  • {!! $errors->first('user_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,['disabled'=>'disabled', 'class' => 'form-control']) !!}
    {!! Form::label('user_name',Lang::get('lang.full_name')) !!} {!! Form::text('user_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('ban',Lang::get('lang.ban')) !!}
    {!! Form::radio('ban','1',true) !!} {{Lang::get('lang.enable')}}
    {!! Form::radio('ban','0') !!} {{Lang::get('lang.disable')}}
    {!! Form::label('internal_note',Lang::get('lang.internal_notes')) !!} {!! Form::textarea('internal_note',null,['class' => 'form-control']) !!}
    @stop