1. Mikhail Korobov
  2. django-widget-tweaks
  3. Issues
Issue #7 new

Some idia for tag.

pahaz NA
created an issue

Create a tag that will change the variables in the context of the template.

Example

{{{ {% change_field form.name add_class:"css_class_1 css_class_2" %} {% change_field form.find attr:"type:search" %} {{ form }} }}}

this tag no render form, they change context.

Comments (2)

  1. Log in to comment