{% macro get_align(col) %} {%- if col.fieldtype in ('Int', 'Float', 'Currency', 'Check') %} style='text-align: right'{% endif -%} {% endmacro %}