@extends('admin.layouts.default') @section('content')
{!! htmlScriptTagJsApi() !!} @include('admin.layouts.partials.breadcrumb')
{{ __('admin.my_profile') }}
{{ $model->role()->first()->name }}
{{ html()->form('POST')->route('admin.user-profile.update', $model->id)->acceptsFiles()->open() }}
{{ html()->label(__('form.name'))->class('mb-2.5 font-semibold text-black dark:text-white') }} {{ html()->span('*')->class('text-danger') }} {{ html()->text('name', $model->name ?? null)->class( 'w-full rounded border-[1.5px] border-stroke bg-transparent py-3 px-5 font-medium outline-none transition focus:border-primary active:border-primary disabled:cursor-default disabled:bg-whiter dark:border-form-strokedark dark:bg-form-input dark:focus:border-primary' . ($errors->has('name') ? ' border-red-500' : ''), )->placeholder(__('form.name')) }} @include('admin.layouts.components.validation', ['name' => 'name'])
{{ html()->label(__('form.email'))->class('mb-2.5 font-semibold text-black dark:text-white') }} {{ html()->span('*')->class('text-danger') }} {{ html()->email('email', $model->email ?? null)->class( 'w-full rounded border-[1.5px] border-stroke bg-transparent py-3 px-5 font-medium outline-none transition focus:border-primary active:border-primary disabled:cursor-default disabled:bg-whiter dark:border-form-strokedark dark:bg-form-input dark:focus:border-primary' . ($errors->has('email') ? ' border-red-500' : ''), )->placeholder('email@example.com') }} @include('admin.layouts.components.validation', ['name' => 'email'])
{{ html()->form()->close() }}
@endsection