@extends('base') @section('content') @include('settings/navbar', ['selected' => 'users'])
id}") }}" method="post">

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

{!! 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($currentUser->id === $user->id && count($activeSocialDrivers) > 0)

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

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

@foreach($activeSocialDrivers as $driver => $enabled)
@icon($driver, ['width' => 56])
@if($user->hasSocialAccount($driver)) {{ trans('settings.users_social_disconnect') }} @else {{ trans('settings.users_social_connect') }} @endif
@endforeach
@endif


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