<div class="container-fluid">

    <div class="row column_title">
        <div class="col-md-12">
            <div class="page_title">
                <h2>Change Your Profile Picture</h2>
            </div>
        </div>
    </div>
    <div class="card">

        <form id="changeprofilepicture" role="form" action="<?= base_url() ?>user/updateProfilePicture" method="post" enctype="multipart/form-data" class="basicvalidation col-md-6">
            <div class="card-body">

                <div class="form-group">
                    <label>Upload New Profile Picture</label>
                    <input type="file" class="form-control" required="true" id="user_image" name="user_image">
                </div>
                <input type="hidden" name="basic[u_id]" value="<?php echo $userdetails['u_id']; ?>">
                <input type="hidden" name="existing_image" value="<?php echo $userdetails['u_image']; ?>">

                <div id="image_submit" class="btn-block text-right mt-3">
                    <button type="submit" class="btn btn-primary">Submit</button>
                </div>
            </div>
        </form>
    </div>
</div>
