@extends('layouts.app', ['title' => 'Perfil de Usuario']) @section('content') @include('profile.partials.header', [ 'title' => 'Hola! '. auth()->user()->name, 'description' => 'Esta es su página de perfil. Puede cambiar sus datos básicos y su contraseña.', 'class' => 'col-lg-7' ])

{{ auth()->user()->first_name }} {{ auth()->user()->last_name }}

{{ auth()->user()->email }}
{{auth()->user()->type}}
Documento: {{auth()->user()->identification}}

{{ __('Editar perfil') }}

@csrf @method('put')
{{ __('Información de usuario') }}
@if (session('status')) @endif
@if ($errors->has('identification')) {{ $errors->first('identification') }} @endif
@if ($errors->has('first_name')) {{ $errors->first('first_name') }} @endif
@if ($errors->has('last_name')) {{ $errors->first('last_name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif

@csrf @method('put')
{{ __('Contraseña') }}
@if (session('password_status')) @endif
@if ($errors->has('old_password')) {{ $errors->first('old_password') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@endsection