@extends('setting::backend.profile.profile-layout') @section('profile-content')

{{__('messages.lbl_personal_info')}}

{{ html()->form('POST' ,route('backend.profile.information-update'))->attribute('enctype', 'multipart/form-data')->attribute('data-toggle', 'validator') ->attribute('id', 'form-submit') // Add the id attribute here ->class('requires-validation') // Add the requires-validation class ->attribute('novalidate', 'novalidate') // Disable default browser validation ->open() }} @csrf
@error('first_name') {{ $message }} @enderror
First Name field is required
@error('last_name') {{ $message }} @enderror
Last Name field is required
@error('email') {{ $message }} @enderror
Email field is required
@error('mobile') {{ $message }} @enderror
Contact Number field is required
{{ html()->button(''. __('messages.lbl_choose_image')) ->class('input-group-text form-control') ->type('button') ->attribute('data-bs-toggle', 'modal') ->attribute('data-bs-target', '#exampleModal') ->attribute('data-image-container', 'selectedImageContainerCastcerw') ->attribute('data-hidden-input', 'file_url_image') }} {{ html()->text('castcrew_input') ->class('form-control') ->placeholder('Select Image') ->attribute('aria-label', 'Profile Image') ->attribute('data-bs-toggle', 'modal') ->attribute('data-bs-target', '#exampleModal') ->attribute('data-image-container', 'selectedImageContainerCastcrew') }}
@if(old('file_url', isset($user) ? $user->file_url : '')) × @endif
{{ html()->hidden('file_url')->id('file_url_image')->value(old('file_url', isset($user) ? $user->file_url : '')) }}
@error('gender') {{ $message }} @enderror
{{ html()->submit(trans('messages.save'))->class('btn btn-md btn-primary float-right')->id('submit-button') }}
@endsection @push('after-scripts') @include('components.media-modal') @endpush