{% import '_includes/forms' as forms %} {% extends 'icon-picker/_layouts' %} {% set crumbs = [ { label: 'Icon Picker' | t('icon-picker'), url: url('icon-picker') }, { label: 'Settings' | t('app'), url: url('icon-picker/settings') }, { label: 'Icon Sets' | t('icon-picker'), url: url('icon-picker/settings/icon-sets') }, ] %} {% set bodyClass = 'icon-sets-settings' %} {% set selectedTab = 'settings' %} {% set fullPageForm = true %} {% set saveShortcutRedirect = continueEditingUrl %} {% set formActions = [ { label: 'Save and continue editing' | t('app'), redirect: continueEditingUrl | hash, shortcut: true, retainScroll: true, }, not isNewIconSet ? { destructive: true, label: 'Delete icon set' | t('icon-picker'), action: 'icon-picker/icon-sets/delete', redirect: baseUrl | hash, confirm: 'Are you sure you want to delete this icon set?' | t('icon-picker'), } ] | filter %} {% block content %} {{ redirectInput(baseUrl) }} {% if not isNewIconSet %} {% endif %}