@extends('app.layout') @section('sub_content')
@method('PATCH') @csrf
{{ __('Name') }}
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
{{ __('Phone') }}
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
{{ __('Address') }}
@if ($errors->has('address')) {{ $errors->first('address') }} @endif
{{ __('City') }}
@if ($errors->has('city')) {{ $errors->first('city') }} @endif
{{ __('Country') }}
{{ __('E-Mail Address') }}
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
{{ __('Password') }}
{{__('Leave blank if you don\'t want to change it')}} @if ($errors->has('password')) {{ $errors->first('password') }} @endif
{{ __('Confirm Password') }}
{{ __('Role') }}
@if($user->isSuperAdmin()) admin @else @endif
{{ __('Companies') }}
{{ __('Cancel') }}
@endsection