{% extends "admin/base_site.html" %} {% load i18n %} {% block title %}Pull Forms from Remote | {{ site_title|default:_('Django site admin') }}{% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

Pull Forms from Remote

{% if error %}

{{ error }}

{% endif %} {# ── Step 2: Results ──────────────────────────────────────────────────── #} {% if step == 2 %}

Import Results

Created: {{ counts.created }}  |  Updated: {{ counts.updated }}  |  Skipped: {{ counts.skipped }}

{% for form_obj, action in results %} {% endfor %}
SlugNameAction
{{ form_obj.slug }} {{ form_obj.name }} {% if action == "created" %}✓ Created {% elif action == "updated" %}↻ Updated {% else %}— Skipped{% endif %}

← Back to Form Definitions {# ── Step 1: Choose forms to import ──────────────────────────────────── #} {% elif step == 1 %}

Connected to {{ remote_name }}. Select the forms you want to import:

{% if remote_forms %}
{% csrf_token %}
{% for form in remote_forms %} {% endfor %}
Slug Name Category
{{ form.form.slug }} {{ form.form.name }} {{ form.category.name|default:"—" }}
Cancel
{% else %}

No forms found on the remote instance.

← Try another remote {% endif %} {# ── Step 0: Remote picker ────────────────────────────────────────────── #} {% else %}

Choose a configured remote instance or enter a URL and token manually.

{% csrf_token %}
{% if remotes %}

Configured via FORMS_SYNC_REMOTES in Django settings.


{% endif %}
Cancel
{% endif %} {% endblock %}