How can I make an if condition in Jinja to display something in case that the field is required?
if tried f.is_required | f.required | f.widget.attrs[\'required\'], a