open-law/app/controllers/jinja_globals.py

8 lines
142 B
Python

from flask_wtf import FlaskForm
# Using: {{ form_hidden_tag() }}
def form_hidden_tag():
form = FlaskForm()
return form.hidden_tag()