D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
forge
/
hms.dentostock.com
/
storage
/
framework
/
views
/
Filename :
d5d684f37ab5d5b889fc4196bbdbc1d8.php
back
Copy
<div class="modal fade" id="editProfileModal" role="dialog" tabindex="-1" aria-hidden="true"> <div class="modal-dialog modal-lg"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <div class="modal-title font-weight-bold"> <h2><?php echo e(__('messages.profile.edit_profile')); ?></h2> </div> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <?php echo e(Form::open(['class' => 'form', 'id' => 'editProfileForm', 'files' => true])); ?> <div class="modal-body"> <?php echo e(Form::hidden('user_id', null, ['id' => 'editUserId'])); ?> <?php echo e(csrf_field()); ?> <div class="row"> <div class="col-md-6 mb-5"> <?php echo e(Form::label('first_name', __('messages.profile.first_name') . ':', ['class' => 'form-label'])); ?> <span class="required"></span> <?php echo e(Form::text('first_name', null, ['id' => 'firstName', 'class' => 'form-control', 'required'])); ?> </div> <div class="col-md-6 mb-5"> <?php echo e(Form::label('last_name', __('messages.profile.last_name') . ':', ['class' => 'form-label'])); ?><span class="required"></span> <?php echo e(Form::text('last_name', null, ['id' => 'lastName', 'class' => 'form-control', 'required'])); ?> </div> <div class="col-md-6 mb-5"> <?php echo e(Form::label('email', __('messages.profile.email') . ':', ['class' => 'form-label'])); ?> <span class="required"></span> <?php echo e(Form::email('email', null, ['id' => 'email', 'class' => 'form-control', 'required'])); ?> </div> <div class="col-md-6 mb-5"> <?php echo e(Form::label('phone', __('messages.user.phone') . ':', ['class' => 'form-label'])); ?> <span class="required"></span> <br> <?php echo e(Form::tel('phone', getCountryCode(), ['class' => 'form-control phoneNumber', 'id' => 'phone', 'onkeyup' => 'if (/\D/g.test(this.value)) this.value = this.value.replace(/\D/g,"")'])); ?> <?php echo e(Form::hidden('prefix_code', null, ['class' => 'prefix_code'])); ?> <span class="valid-msg text-success d-none fw-400 fs-small mt-2">✓ <?php echo e(__('messages.valid')); ?></span> <span class="error-msg text-danger d-none fw-400 fs-small mt-2"></span> </div> </div> <div class="row"> <div class="col-lg-6 mb-5"> <?php echo e(Form::label('image', __('messages.profile.profile') . ':', ['class' => 'form-label d-block'])); ?> <div class="d-block"> <?php $style = 'style='; $background = 'background-image:'; ?> <div class="image-picker"> <div class="image previewImage" id="editPhoto"></div> <span class="picker-edit rounded-circle text-gray-500 fs-small" title="<?php echo e(__('messages.common.edit')); ?>"> <label> <i class="fa-solid fa-pen" id="profileImageIcon"></i> <input type="file" class="image-upload d-none" name="image" id="profileImage" accept=".png, .jpg, .jpeg, .gif" /> <input type="hidden" name="avatar_remove"> </label> </span> </div> </div> </div> </div> </div> <div class="modal-footer pt-0"> <?php echo e(Form::button(__('messages.common.save'), ['type' => 'submit', 'class' => 'btn btn-primary me-3', 'id' => 'btnPrEditSave', 'data-loading-text' => "<span class='spinner-border spinner-border-sm'></span> Processing..."])); ?> <button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><?php echo e(__('messages.common.cancel')); ?> </button> </div> </div> <?php echo e(Form::close()); ?> </div> </div> </div> <div id="changeLanguageModal" class="modal fade" role="dialog" tabindex="-1" aria-hidden="true"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <div class="modal-title"> <h2><?php echo e(__('messages.profile.change_language')); ?></h2> </div> <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button> </div> <?php echo e(Form::open(['id' => 'changeLanguageForm'])); ?> <div class="modal-body"> <div class="alert alert-danger d-none hide" id="editProfileValidationErrorsBox"></div> <?php echo e(csrf_field()); ?> <div class="row"> <div class="col-12"> <?php echo e(Form::label('language', __('messages.profile.language') . ':', ['class' => 'form-label'])); ?> <span class="required"></span> <?php echo e(Form::select('language', \App\Models\User::LANGUAGES, Auth::user()->language, ['id' => 'language', 'class' => 'form-select', 'data-control' => 'select2', 'data-hide-search' => 'true', 'data-placeholder' => 'language', 'required'])); ?> </div> </div> </div> <div class="modal-footer pt-0"> <?php echo e(Form::button(__('messages.common.save'), ['type' => 'submit', 'class' => 'btn btn-primary me-3', 'id' => 'btnLanguageChange', 'data-loading-text' => "<span class='spinner-border spinner-border-sm'></span> Processing..."])); ?> <button type="button" class="btn btn-secondary" data-bs-dismiss="modal"><?php echo e(__('messages.common.cancel')); ?></button> </div> <?php echo e(Form::close()); ?> </div> </div> </div> <?php /**PATH /home/u827283894/domains/w-manage.org/public_html/hms/resources/views/user_profile/edit_profile_modal.blade.php ENDPATH**/ ?>