<div id="EditProfileModal" class="modal fade" role="dialog">
    <div class="modal-dialog modal-lg">
        <!-- Modal content-->
        <div class="modal-content" style="border-radius: 5px !important;">
            <div class="modal-header">
                <h5 class="modal-title">Edit Profile</h5>
                <button type="button" aria-label="Close" class="close" data-dismiss="modal">×</button>
            </div>
            <?php echo Form::open(['id'=>'editProfileForm','files'=>true]); ?>

            <div class="modal-body">
                <div class="alert alert-danger" style="display: none" id="editProfileValidationErrorsBox"></div>
                <?php echo Form::hidden('user_id',null,['id'=>'pfUserId']); ?>

                <?php echo Form::hidden('is_active',1); ?>

                <?php echo e(csrf_field()); ?>

                <div class="row">
                    <div class="form-group col-sm-6">
                        <?php echo Form::label('name', 'Name'); ?><span class="required">*</span>
                        <?php echo Form::text('name', null, ['id'=>'pfName','class' => 'form-control','required']); ?>

                    </div>
                    <div class="form-group col-sm-6 d-flex">
                        <div class="col-sm-6 pl-0">
                            <?php echo Form::label('photo', 'Profile Image'); ?>

                            <label class="edit-profile__file-upload"> Choose your file
                                <?php echo Form::file('photo',['id'=>'pfImage','class' => 'd-none']); ?>

                            </label>
                        </div>
                        <div class="col-sm-3 preview-image-video-container float-right" style="margin-top: 2px;">
                            <img id='edit_preview_photo' class="img-thumbnail" width="200px;"
                                 src="<?php echo e(asset('assets/img/user-avatar.png')); ?>"/>
                        </div>
                    </div>
                </div>
                <div class="row">
                    <div class="form-group col-sm-6">
                        <?php echo Form::label('email', 'Email'); ?><span class="required">*</span>
                        <?php echo Form::text('email', null, ['id'=>'pfEmail','class' => 'form-control','required']); ?>

                    </div>
                    <div class="form-group col-sm-6">
                        <?php echo Form::label('phone', 'Phone'); ?>

                        <?php echo Form::text('phone', null, ['id'=>'pfPhone','class' => 'form-control']); ?>

                    </div>
                </div>
                <div class="text-right">
                    <?php echo Form::button('Save', ['type'=>'submit','class' => 'btn btn-primary','id'=>'btnPrEditSave','data-loading-text'=>"<span class='spinner-border spinner-border-sm'></span> Processing..."]); ?>

                    <button type="button" class="btn btn-light" data-dismiss="modal"
                            style="margin-left: 5px">Cancel
                    </button>
                </div>
            </div>
            <?php echo Form::close(); ?>

        </div>
    </div>
</div>
<?php /**PATH /Users/dev/Documents/WebDevProjects/infy-tracker/resources/views/profile/edit_profile.blade.php ENDPATH**/ ?>