@extends('admin.layouts.app') @section('title', 'Users') @section('content')

{{__('Users')}}

{{__('Update User')}}

{{ Form::model($user, array('route' => array('admin.user.update', $user->id), 'method' => 'POST','files'=>true)) }} {!! Form::hidden('id', $user->id) !!}
{{ Form::text('name', $user->name, array('id'=>'name','autocomplete'=>'off','class' => "form-control ".APFrmErrHelp::hasError($errors, 'name')." ",'placeholder' => 'Enter name')) }} {!! APFrmErrHelp::showErrors($errors, 'name') !!}
{{ Form::text('phone_number', $user->phone_number, array('id'=>'phone_number','autocomplete'=>'off','maxlength' => 13,'onkeypress'=>"return /[0-9 +]/.test(String.fromCharCode(((event||window.event).which||(event||window.event).which)))",'class' => "form-control ".APFrmErrHelp::hasError($errors, 'phone_number')." ",'placeholder' => 'Enter phone number')) }} {!! APFrmErrHelp::showErrors($errors, 'phone_number') !!}
{{ Form::text('email', $user->email, array('id'=>'email','autocomplete'=>'off','class' => "form-control ".APFrmErrHelp::hasError($errors, 'email')." ",'placeholder' => 'Enter email', 'readonly'=>'true')) }} {!! APFrmErrHelp::showErrors($errors, 'email') !!}
{!! APFrmErrHelp::showErrors($errors, 'password') !!}
{!! APFrmErrHelp::showErrors($errors, 'confirm_password') !!}
status=='1') checked @endif value="1"> Active status=='0') checked @endif value="0"> Inactive
{{ Form::close() }}
@endsection