PATH:
home
/
rwabteecom
/
public_html
/
resources
/
views
/
users
/
Editing: changePassword.blade.php
<div class="modal fade" id="changeUserPasswordModal" tabindex="-1" aria-modal="true" role="dialog" > <div class="modal-dialog"> <div class="modal-content" @if(getLogInUser()->language == 'ar') dir="rtl" @endif> <div class="modal-header"> <h3>{{ __('messages.user.change_password') }}</h3> <button type="button" class="btn-close @if(getLogInUser()->language == 'ar') m-0 @endif" data-bs-dismiss="modal" aria-label="Close"></button> </div> {{ Form::open(['id'=>'changeUserPasswordForm']) }} @csrf @method('PUT') <div class="modal-body"> <div class="alert alert-danger d-none" id="editUserPasswordValidationErrorsBox"></div> <div class="mb-5"> {{ Form::hidden('user_id',null,['id'=>'changePasswordUserId']) }} {{ Form::label('new_password',__('messages.user.new_password').':', ['class' => 'form-label required']) }} <div class="mb-3 position-relative"> {{Form::password('new_password',['class' => 'form-control','placeholder' => __('messages.user.new_password'), 'autocomplete'=> 'off','aria-label' => 'Password','data-toggle' => 'password'])}} <span class="position-absolute d-flex align-items-center top-0 bottom-0 @if(getLogInUser()->language == 'ar') start-0 ms-4 @else end-0 me-4 @endif input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> <div> {{ Form::label('confirm_password',__('messages.user.confirm_password').':', ['class' => 'form-label required']) }} <div class="mb-3 position-relative"> {{Form::password('confirm_password',['class' => 'form-control','placeholder' => __('messages.user.confirm_password'), 'autocomplete'=> 'off','aria-label' => 'Password','data-toggle' => 'password'])}} <span class="position-absolute d-flex align-items-center top-0 bottom-0 @if(getLogInUser()->language == 'ar') start-0 ms-4 @else end-0 me-4 @endif input-icon input-password-hide cursor-pointer text-gray-600"> <i class="bi bi-eye-slash-fill"></i> </span> </div> </div> </div> <div class="modal-footer pt-0 @if(getLogInUser()->language == 'ar') gap-3 @endif"> {{ Form::button(__('messages.common.save'),['class' => 'btn btn-primary m-0','id' => 'UserPasswordChangeBtn']) }} {{ Form::button(__('messages.common.discard'),['class' => 'btn btn-secondary my-0 ms-5 me-0','data-bs-dismiss' => 'modal']) }} </div> {{ Form::close()}} </div> </div> </div>
SAVE
CANCEL