@extends('portal.default.layouts.master') @push('css') @endpush @section('body')
{{ ctrans('texts.user_details') }}
{!! Former::framework('TwitterBootstrap4'); !!} {!! Former::horizontal_open_for_files() ->id('update_contact') ->route('client.profile.update', auth()->user()->hashed_id) ->method('PUT'); !!} @csrf
@if(auth()->user()->avatar) @else @endif {!! Former::file('avatar') ->max(2, 'MB') ->accept('image') ->label('') ->inlineHelp(trans('texts.logo_help')) !!}
{!! Former::text('first_name')->label( ctrans('texts.first_name'))->value(auth()->user()->first_name) !!} {!! Former::text('last_name')->placeholder('')->label( ctrans('texts.last_name'))->value(auth()->user()->last_name) !!} {!! Former::text('email')->placeholder('')->label(ctrans('texts.email'))->value(auth()->user()->email) !!} {!! Former::text('phone')->placeholder('')->label(ctrans('texts.phone'))->value(auth()->user()->phone) !!} {!! Former::password('password')->placeholder('')->label(ctrans('texts.password')) !!} {!! Former::password('password_confirmation')->placeholder('')->label(ctrans('texts.confirm_password')) !!}
{!! Former::close() !!} @include('portal.default.profile.client_information')
@endsection @section('footer') @endsection