{% extends "admin/change_form.html" %} {% load admin_urls i18n pipeline %} {% block scripts %} {{block.super}} {% javascript 'repositoryform' %} {% endblock %} {% block object-tools %} {% endblock object-tools %} {% block form_top %} {% comment %} This tricks the browser into autofilling this field and not subsequent fields. Since there's no name=, nothing will be sent to the server. {% endcomment %}
{% with adminform.form as form %} {% include "admin/repository_confirmations.html" %} {% endwith %} {% if adminform.form.errors and adminform.form.hosting_account_linked %}

{% trans "Account successfully linked." %}

{% blocktrans %} Your hosting account was successfully linked. You will not need to link it again when fixing the remaining errors. {% endblocktrans %}

{% endif %} {% if adminform.form.public_key %}

{% trans "Note:" %} {% blocktrans %} If your provider or repository requires an SSH key for access, you can click "Show SSH Public Key" to the right. {% endblocktrans %}

{% endif %} {% endblock %} {% block field_sets %} {% for fieldset in adminform %}
{% if fieldset.name %}

{{fieldset.name}}

{% endif %} {% if fieldset.description %}
{{fieldset.description|safe}}
{% endif %} {% for line in fieldset %} {% for adminfield in line %} {% with adminfield.field as field %} {% include "djblets_forms/admin/form_field.html" %} {% endwith %} {% endfor %} {% endfor %} {% if fieldset.name == adminform.form.REPOSITORY_HOSTING_FIELDSET %} {% for hosting_service_id, auth_form in adminform.form.hosting_auth_forms.items %} {% endfor %} {% elif fieldset.name == adminform.form.REPOSITORY_INFO_FIELDSET %} {% for scmtool_id, repo_form in adminform.form.scmtool_repository_forms.items %} {% endfor %} {% for scmtool_id, auth_form in adminform.form.scmtool_auth_forms.items %} {% endfor %} {% for hosting_service, repo_types in adminform.form.hosting_repository_forms.items %} {% for repo_type_id, repo_form in repo_types.items %} {% endfor %} {% endfor %} {% elif fieldset.name == adminform.form.BUG_TRACKER_FIELDSET %} {% for hosting_service, bug_tracker_types in adminform.form.hosting_bug_tracker_forms.items %} {% for bug_tracker_type_id, bug_tracker_form in bug_tracker_types.items %} {% endfor %} {% endfor %} {% endif %}
{% endfor %} {% endblock %}