Opened 16 years ago

Closed 16 years ago

#8370 closed (worksforme)

Forms include tag does not receive varaible defined by a with tag

Reported by: anonymous Owned by: nobody
Component: Forms Version: dev
Severity: Keywords: include with
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I would like to achieve the following:

{% with form.some_field as field %}

{% include field_template.html %}

{% endwith %}

But new field variable is not passed in to included template.

Change History (1)

comment:1 by Matt McClanahan, 16 years ago

Resolution: worksforme
Status: newclosed

I can't reproduce this.

Note: See TracTickets for help on using tickets.
Back to Top