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

Push Forms to Remote

{% if error %}

{{ error }}

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

Forms pushed successfully to {{ remote_name }}.

{% with r=push_result %}

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

{% if r.results %} {% for row in r.results %} {% endfor %}
SlugNameAction
{{ row.slug }} {{ row.name }} {% if row.action == "created" %}✓ Created {% elif row.action == "updated" %}↻ Updated {% else %}— Skipped{% endif %}
{% endif %} {% endwith %}
← Back to Form Definitions {# ── Step 0: Confirm + pick remote ────────────────────────────────────── #} {% else %}

Forms to be pushed

{% if forms_to_push %} {% for form in forms_to_push %} {% endfor %}
SlugNameCategory
{{ form.slug }} {{ form.name }} {{ form.category|default:"—" }}
{% else %}

No forms selected. All forms will be pushed.

{% endif %}

Destination

{% csrf_token %}
{% if remotes %}

Configured via FORMS_SYNC_REMOTES in Django settings.


{% endif %}

Controls what happens when a form with the same slug already exists on the remote.

Cancel
{% endif %} {% endblock %}