@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.user.title_singular') }}
@method('PUT') @csrf
@if($errors->has('name'))
{{ $errors->first('name') }}
@endif {{ trans('cruds.user.fields.name_helper') }}
@if($errors->has('email'))
{{ $errors->first('email') }}
@endif {{ trans('cruds.user.fields.email_helper') }}
@if($errors->has('phone'))
{{ $errors->first('phone') }}
@endif
approved || old('approved', 0) === 1 ? 'checked' : '' }}>
@if($errors->has('approved'))
{{ $errors->first('approved') }}
@endif {{ trans('cruds.user.fields.approved_helper') }}
@if($errors->has('password'))
{{ $errors->first('password') }}
@endif {{ __('Leave blank if you do not want to change the password.') }}
@if($errors->has('roles'))
{{ $errors->first('roles') }}
@endif {{ trans('cruds.user.fields.roles_helper') }}
@endsection