<?php
function update_email_form()
{
    $form = '
        <div class="form_card">
            <h5 class="underline">Update Email</h5>
            <span class="modal_close">&times;</span>
            <form method="post">
                <input type="hidden" name="form_id" value="update_email_form">
                <input type="hidden" name="user_id" value="' . $_GET['user_id'] . '">

                <label for="new_email">New Email</label>
                <input id="new_email" name="new_email" required>

                <label for="verify_new_email">Verify New Email</label>
                <input id="verify_new_email" name="verify_new_email" required>
            
                <input type="submit" class="button" value="Update Email">
            </form>
        </div>
    ';

    return $form;
}
