diff --git a/app/components/webhook_endpoint_form_component/webhook_endpoint_form_component.html.haml b/app/components/webhook_endpoint_form_component/webhook_endpoint_form_component.html.haml index 1c715b51a6..1ad729b18c 100644 --- a/app/components/webhook_endpoint_form_component/webhook_endpoint_form_component.html.haml +++ b/app/components/webhook_endpoint_form_component/webhook_endpoint_form_component.html.haml @@ -1,4 +1,4 @@ --# Existing endpoints +-# Create new endpoints - if webhooks.empty? # Only one allowed for now. %tr %td= t("components.webhook_endpoint_form.event_types.#{webhook_type}") @@ -9,6 +9,7 @@ %td.actions = button_tag t(:create), class: 'button primary tiny no-margin', form: "#{webhook_type}_webhook_endpoint" +-# Existing endpoints - webhooks.each do |webhook_endpoint| %tr %td= t("components.webhook_endpoint_form.event_types.#{webhook_type}")