open-law/app/controllers/jinja_globals.py

8 lines
142 B
Python
Raw Normal View History

2023-04-28 13:03:48 +00:00
from flask_wtf import FlaskForm
# Using: {{ form_hidden_tag() }}
def form_hidden_tag():
form = FlaskForm()
return form.hidden_tag()