@extends('users.account.layout') @section('main') {{ method_field('put') }} {{ csrf_field() }} {{ trans('preferences.profile') }} {{ trans('preferences.profile_view_public') }} {{ trans('preferences.profile_desc') }} {{ trans('auth.name') }} {{ trans('preferences.profile_name_desc') }} @include('form.text', ['name' => 'name']) {{ trans('auth.email') }} {{ trans('preferences.profile_email_desc') }} @include('form.text', ['name' => 'email', 'disabled' => !userCan('users-manage')]) @if(!userCan('users-manage')) {{ trans('preferences.profile_email_no_permission') }} @endif {{ trans('settings.users_avatar') }} {{ trans('preferences.profile_avatar_desc') }} @include('form.image-picker', [ 'resizeHeight' => '512', 'resizeWidth' => '512', 'showRemove' => false, 'defaultImage' => url('/user_avatar.png'), 'currentImage' => user()->getAvatar(80), 'currentId' => user()->image_id, 'name' => 'profile_image', 'imageClass' => 'avatar large' ]) @include('users.parts.language-option-row', ['value' => old('language') ?? user()->getLocale()->appLocale()]) {{ trans('preferences.delete_account') }} {{ trans('common.save') }} @if(userCan('users-manage')) {{ trans('preferences.profile_admin_options') }} {{ trans('preferences.profile_admin_options_desc') }} {{ trans('common.open') }} @endif @stop
{{ trans('preferences.profile_desc') }}
{{ trans('preferences.profile_name_desc') }}
{{ trans('preferences.profile_email_desc') }}
{{ trans('preferences.profile_email_no_permission') }}
{{ trans('preferences.profile_avatar_desc') }}
{{ trans('preferences.profile_admin_options_desc') }}