`poll_form` is not used in this macro. You can accomplish the same thing in a better way imho with `set` [1] which for variable assignment, while macro is a function to calculate something.

Personally I would just duplicate this small chunk of code, because I don't like settings macros or using set for that.

[1] http://jinja.pocoo.org/docs/templates/#assignments