{% import "agent_form.html" as f with context %} {{ f.model_options(models) }}