{% extends "base.html" %} {% load static i18n %} {% load widget_tweaks %} {% block title %}{{ title }}{% endblock %} {% block customCSS %} {% endblock %} {% block content %}

{% if source %} {% else %} {% endif %}
{{ title }}

{% if source %} {% trans "Update integration source details" %} {% else %} {% trans "Create a new integration source" %} {% endif %}

{% trans "Source Configuration" %}

{% trans "Fill in the integration details below" %}

{% if form.non_field_errors %}

{% trans "Error" %}

{% for error in form.non_field_errors %}

{{ error }}

{% endfor %}
{% endif %} {% if messages %}
{% for message in messages %}

{{ message }}

{% endfor %}
{% endif %}
{% csrf_token %}
{% if form.name.help_text %}

{{ form.name.help_text }}

{% endif %} {% for error in form.name.errors %}

{{ error }}

{% endfor %}
{{ form.source_type.as_widget }} {% if form.source_type.help_text %}

{{ form.source_type.help_text }}

{% endif %} {% for error in form.source_type.errors %}

{{ error }}

{% endfor %}
{% if form.ip_address.help_text %}

{{ form.ip_address.help_text }}

{% endif %} {% for error in form.ip_address.errors %}

{{ error }}

{% endfor %}
{% if form.trusted_ips.help_text %}

{{ form.trusted_ips.help_text }}

{% endif %} {% for error in form.trusted_ips.errors %}

{{ error }}

{% endfor %}
{% if form.description.help_text %}

{{ form.description.help_text }}

{% endif %} {% for error in form.description.errors %}

{{ error }}

{% endfor %}
{% if form.is_active.help_text %}

{{ form.is_active.help_text }}

{% endif %} {% for error in form.is_active.errors %}

{{ error }}

{% endfor %}
{% if source %}

{% trans "API Credentials" %}

{% trans "Generated credentials for API access" %}

{% endif %}
{% trans "Cancel" %}
{% endblock %} {% block customJS %} {% endblock %}