@include('template.head') {{ $page_name = 'user' }}
@include('template.sidebar') @include('template.header') @include('template.rightpanel')
Edit User
{{--
Edit User
--}}
@csrf
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('username'))
{{ $errors->first('username') }}
@endif
@if ($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if ($errors->has('contact'))
{{ $errors->first('contact') }}
@endif
Please select user type...*
@foreach ($userTypes as $userType)
usertype_id == $userType->id ? 'selected' : '' }}> {{ $userType->name }}
@endforeach
@if ($errors->has('usertype_id'))
{{ $errors->first('usertype_id') }}
@endif
status == '1' ? 'checked' : '' }}>
Active User
Save
{{-- script start --}} @include('template.script') {{-- script end --}}