diff --git a/poleno/utils/templatetags/poleno/amend.py b/poleno/utils/templatetags/poleno/amend.py index e0c136eb..041af572 100644 --- a/poleno/utils/templatetags/poleno/amend.py +++ b/poleno/utils/templatetags/poleno/amend.py @@ -253,20 +253,26 @@ def set_attributes(context, path, **kwargs): Example: {% amend %} - {% set_attributes path=".//li[1]" aaa="value" bbb=True %} - {% set_attributes path=".//li[2]" ccc=None ddd=False %} - {% set_attributes path=".//li[3]" eee="new_value" %} + {% set_attributes path=".//li[1]" aaa=None bbb=None %} + {% set_attributes path=".//li[2]" aaa=False bbb=False %} + {% set_attributes path=".//li[3]" aaa=True bbb=True %} + {% set_attributes path=".//li[4]" aaa="bar" bbb="baz" ccc="" %} + {% set_attributes path=".//li[5]" aaa=1 bbb=2 ccc=0 %} {% endamend %} Result: """ if u'_amend' not in context: