@extends('voyager::master') @section('page_title', __('voyager::generic.'.(isset($dataTypeContent->id) ? 'edit' : 'add')).' '.$dataType->getTranslatedAttribute('display_name_singular')) @section('css') @stop @section('page_header')

{{ __('voyager::generic.'.(isset($dataTypeContent->id) ? 'edit' : 'add')).' '.$dataType->getTranslatedAttribute('display_name_singular') }}

@stop @section('content')
@if(isset($dataTypeContent->id)) {{ method_field("PUT") }} @endif {{ csrf_field() }}
@if (isset($errors) && $errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@if(isset($dataTypeContent->password))
{{ __('voyager::profile.password_hint') }} @endif
@can('editRoles', $dataTypeContent)
@php $dataTypeRows = $dataType->{(isset($dataTypeContent->id) ? 'editRows' : 'addRows' )}; $row = $dataTypeRows->where('field', 'user_belongsto_role_relationship')->first(); $options = $row->details; @endphp @include('voyager::formfields.relationship')
@php $row = $dataTypeRows->where('field', 'user_belongstomany_role_relationship')->first(); $options = $row->details; @endphp @include('voyager::formfields.relationship')
@endcan @php if (isset($dataTypeContent->locale)) { $selected_locale = $dataTypeContent->locale; } else { $selected_locale = config('app.locale', 'en'); } @endphp
{{-- Right Column: Default Avatar Card (Read-Only) --}}
Default User Avatar
Default Avatar (Locked)

User avatars are standardized across the admin panel using the default avatar image. Editing or uploading new avatars is disabled.

@stop @section('javascript') @stop