use Jinja name consistently

This commit is contained in:
David Lord 2025-08-19 10:43:16 -07:00
parent 38b4c1e19b
commit d8259eb119
No known key found for this signature in database
GPG key ID: 43368A7AA8CC5926
9 changed files with 31 additions and 31 deletions

View file

@ -99,7 +99,7 @@ WTForm's field function, which renders the field for us. The keyword
arguments will be inserted as HTML attributes. So, for example, you can
call ``render_field(form.username, class='username')`` to add a class to
the input element. Note that WTForms returns standard Python strings,
so we have to tell Jinja2 that this data is already HTML-escaped with
so we have to tell Jinja that this data is already HTML-escaped with
the ``|safe`` filter.
Here is the :file:`register.html` template for the function we used above, which