{%- import 'apostrophe-ui:components/buttons.html' as buttons -%}
{{ buttons.inGroup('', { icon: 'arrows', action: 'drag-item' }) }} {{ buttons.inGroup('', { icon: 'arrow-up', action: 'move-item', value: 'up' }) }} {{ buttons.inGroup('', { icon: 'arrow-down', action: 'move-item', value: 'down' }) }} {{ buttons.inGroup('', { icon: 'trash', action: 'trash-item' }) }}
{%- if not data.manager.removeEditButton -%} {%- set label = data.options.editLabel or 'Edit ' + data.manager.label -%}
{{ buttons.inContext(label, { action: 'edit-item' }) }}
{%- endif -%}