const showPassword = function (el) {
    const input = el.previousElementSibling;
    if (input.getAttribute('type') == 'password') {
        input.setAttribute('type', 'text');
        el.classList.remove("bi-eye-fill");
        el.classList.add("bi-eye-slash-fill");
        el.setAttribute('title', 'hide password');
    } else {
        input.setAttribute('type', 'password');
        el.classList.remove("bi-eye-slash-fill");
        el.classList.add("bi-eye-fill");
        el.setAttribute('title', 'show password');
    }
};
