{% from "macros.html" import amount, textarea, choice, bool_choice %} {% macro mu_radio(label, desc) %} {{ choice('rule.min_users', label, desc, extras=[('', "(n/a)"), (1, 'Any One'), (2, 'Two Users'), (3, 'Three Users'), ('all', 'All Users')], disabled_if="rule.users.length == 0") }} {% endmacro %}