{%- import 'apostrophe-ui:components/buttons.html' as buttons with context -%} {% if data.autocomplete and data.browse %}
{% elseif data.browse %}
{% endif %} {% if data.autocomplete %} {% endif %} {% if data.browse %} {{ buttons.action('Browse', { action: 'browse', icon: 'caret-right' }) }} {% endif %} {% if data.autocomplete or data.browse %}
{% endif %} {# Existing selections #}
{# AJAX populates me #}
{# Initially hidden #}
{{ __("Limit Reached") }}