@extends('simple-layout') @section('toolbar') @include('settings/navbar', ['selected' => 'users']) @stop @section('body')

 

@icon('edit') {{ $user->id === $currentUser->id ? trans('settings.users_edit_profile') : trans('settings.users_edit') }}

id}") }}" method="post">
{!! csrf_field() !!} @include('users.forms.' . $authMethod, ['model' => $user])

{{ trans('settings.users_avatar_desc') }}

@include('components.image-picker', [ 'resizeHeight' => '512', 'resizeWidth' => '512', 'showRemove' => false, 'defaultImage' => baseUrl('/user_avatar.png'), 'currentImage' => $user->getAvatar(80), 'currentId' => $user->image_id, 'name' => 'image_id', 'imageClass' => 'avatar large' ])
{{ trans('common.cancel') }} @if($authMethod !== 'system') id}/delete") }}" class="neg button">{{ trans('settings.users_delete') }} @endif
@if($currentUser->id === $user->id && count($activeSocialDrivers) > 0)

@icon('login') {{ trans('settings.users_social_accounts') }}

{{ trans('settings.users_social_accounts_info') }}

@foreach($activeSocialDrivers as $driver => $enabled)
@icon('auth/'. $driver, ['style' => 'width: 56px;height: 56px;'])
 
@endforeach
@endif


@include('components.image-manager', ['imageType' => 'user']) @stop