@extends('layouts.main') @section('breadcrumb') @include('admin.parts.breadcrumb.accounts.index') @if ($account->id) @else @endif @endsection @section('content') @if ($account->id)

{{ $account->identifier }}

@if ($account->updated_at)

{{ __('Updated on') }} {{ $account->updated_at->format('d/m/Y') }} @endif @include('admin.account.parts.tabs') @else

{{ __('New user') }}

{{ __('Cancel') }}
@endif
@csrf @method($account->id ? 'put' : 'post')
id) readonly @endif> @include('parts.errors', ['name' => 'username'])
@include('parts.errors', ['name' => 'display_name'])
id) required @endif> {{ __('Fill to change') }} @include('parts.errors', ['name' => 'password'])
id) required @endif> @include('parts.errors', ['name' => 'password_confirmation'])
@include('parts.errors', ['name' => __('email')])
@include('parts.errors', ['name' => 'phone'])

{{ __('Other information') }}

@include('parts.form.toggle', ['object' => $account, 'key' => 'blocked', 'label' => __('Blocked')]) @include('parts.form.toggle', ['object' => $account, 'key' => 'activated', 'label' => __('Enabled')])
admin) checked @endif>

{{ __('Admin') }}

admin) checked @endif>

{{ __('User') }}

@if (space()?->intercom_features)
@endif
@if ($account->id) @else @endif
@endsection