@extends('layouts.admin.theme') @section("title", env("APP_NAME") . " :: Meu Perfil") @section('content')
@php $headLine = " Meu Perfil"; @endphp @include('components.buttons._headLineButtonsBackAdd', [ 'headLine' => __($headLine), "permission" => "GUEST", ])
@csrf @method('post') @include("errors.messageFlash") @include('components.modal._modelProfile')
@include('components.inputs._inputType',[ "for" => null, "label" => "Nome completo", "name" => "fullName", "id" => null, "required" => true, "type" => null, "old" => old('fullName', $user->name), "oninput" => "javascript:this.value = this.value.toLocaleUpperCase('pt-BR').replace(/[^\p{L}\s]+/gu, '').replace(/\s{2,}/g,' ').trimStart()", "readonly" => false, "small" => null, ])
@include('components.inputs._inputType',[ "for" => null, "label" => "Email", "name" => "email", "id" => null, "required" => true, "type" => 'email', "old" => old('email', $user->email), "oninput" => "javascript:this.value = this.value.toLowerCase()", "readonly" => false, "small" => null, "placeholder" => "nome@email.com", ])
@include('components.inputs._inputType',[ "for" => null, "label" => "Telefone", "name" => "phoneNumber", "id" => null, "required" => true, "type" => null, "old" => old('phoneNumber', $user->phoneNumber), "oninput" => "javascript:aplicarMascaraTelefone(this)", "readonly" => false, "small" => null, ])
@include('components.inputs._inputType',[ "for" => null, "label" => "Foto", "name" => "photo", "id" => null, "required" => false, "type" => 'file', "old" => null, "oninput" => null, "readonly" => true, "small" => null, "accept" => 'image/jpeg,image/jpg,image/png,image/gif', ])
@include('components.buttons._backAndSend', [ 'textSend' => 'Atualizar', ])
@endsection