1
0
forked from orson/bachemap
This commit is contained in:
Orson 2025-04-14 15:08:35 -06:00
parent ec1a631737
commit c99a897d92
2 changed files with 5 additions and 3 deletions

4
app.py
View File

@ -177,8 +177,8 @@ def create_app(config=Config):
login_user(user, remember=True)
return redirect(url_for('index'))
else:
return render_template('login.html', messages = 'Ooops, no hay tal usuario', form=form2)
return render_template('login.html',form=form2)
return render_template('login.html', messages = 'Ooops, no hay tal usuario', login_form=form2)
return render_template('login.html',login_form=form2)
@app.route('/logout')
@login_required

View File

@ -128,7 +128,9 @@
modal_stat.hidden = false;
} else {modal_stat.hidden = true;}
}
pinner_button_top.addEventListener('click', toggleSlide);
if (pinner_button_top) {
pinner_button_top.addEventListener('click', toggleSlide);
}
const cancel_add = document.getElementById("cancel-add");
cancel_add.addEventListener('click', toggleSlide);
observer.observe(document.body, { childList: true, subtree: true });