{%- import 'apostrophe-ui:components/buttons.html' as buttons -%} {% for item in data.choices %} {% set choice = item.item or item %} {% set relationship = item.relationship %}