@extends('template.master') @section('title', 'Add/Edit User') @section('content')

Add/Edit Users

Back
@csrf
@if($errors->has('first_name'))
{{ $errors->first('first_name') }}
@endif
@if($errors->has('last_name'))
{{ $errors->first('last_name') }}
@endif
@if($errors->has('phone_number'))
{{ $errors->first('phone_number') }}
@endif
@if($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if($errors->has('password'))
{{ $errors->first('password') }}
@endif
@if($errors->has('c_password'))
{{ $errors->first('c_password') }}
@endif
@if($errors->has('user_role'))
{{ $errors->first('user_role') }}
@endif
user_status)) && @$user->user_status == 1? "checked" :"" }} checked>
user_status)) && @$user->user_status == 0? "checked" : "" }}>
Cancel
@endsection @push('child-scripts') @endpush