jinja2 template import html with as

HTML
{ % from 'forms.html' import input with context %}
{ % include 'header.html' without context %}

Source

Also in HTML: