@extends('layouts.app') @section('page-title', trans('app.my_profile')) @section('content')

{{ $user->present()->nameOrEmail }} @lang('app.edit_profile_details')

@include('partials.messages')
{!! Form::open(['route' => 'profile.update.details', 'method' => 'PUT', 'id' => 'details-form']) !!} @include('user.partials.details', ['profile' => true]) {!! Form::close() !!}
{!! Form::open(['route' => 'profile.update.avatar', 'files' => true, 'id' => 'avatar-form']) !!} @include('user.partials.avatar', ['updateUrl' => route('profile.update.avatar-external')]) {!! Form::close() !!}
{!! Form::open(['route' => 'profile.update.login-details', 'method' => 'PUT', 'id' => 'login-details-form']) !!} @include('user.partials.auth') {!! Form::close() !!}
@if (settings('2fa.enabled'))