@extends('layouts.admin') @section('content')
{!! csrf_field() !!}
Profile Information
Acounts details
@if ($errors->has('username')) {{ $errors->first('username') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('region')) {{ $errors->first('region') }} @endif
@if ($errors->has('city')) {{ $errors->first('city') }} @endif
@if ($errors->has('joining_date')) {{ $errors->first('joining_date') }} @endif
Personal details
@if(!empty($user->image)) @endif
@if ($errors->has('image')) {{ $errors->first('image') }} @endif
@if ($errors->has('firstname')) {{ $errors->first('firstname') }} @endif
@if ($errors->has('lastname')) {{ $errors->first('lastname') }} @endif
@if ($errors->has('father_name')) {{ $errors->first('father_name') }} @endif
@if ($errors->has('cnic')) {{ $errors->first('cnic') }} @endif
@if ($errors->has('phone_1')) {{ $errors->first('phone_1') }} @endif
@if ($errors->has('phone_2')) {{ $errors->first('phone_2') }} @endif
@if ($errors->has('landline')) {{ $errors->first('landline') }} @endif
@if ($errors->has('dob')) {{ $errors->first('dob') }} @endif
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
@if(!empty($user)) {!! method_field('PUT') !!} @endif {{ csrf_field() }}
@endsection @section('footer-content') @endsection