{% extends "base.html" %} {% from "components/ui.html" import page_header %} {% block content %} {% set breadcrumbs = [ {'text': _('Admin'), 'url': url_for('admin.admin_dashboard')}, {'text': _('Webhooks'), 'url': url_for('webhooks.list_webhooks')}, {'text': _('Create Webhook') if not webhook else _('Edit Webhook')} ] %} {{ page_header( icon_class='fas fa-plug', title_text=_('Create Webhook') if not webhook else _('Edit Webhook'), subtitle_text=_('Configure webhook for integrations'), breadcrumbs=breadcrumbs ) }}

{{ _('The URL where webhook events will be sent') }}

{% for event in available_events %} {% endfor %}

{{ _('Select which events should trigger this webhook') }}

{% if webhook %}

{{ _('Warning: Regenerating the secret will invalidate the current secret') }}

{% endif %}
{{ _('Cancel') }}
{% endblock %}