{% extends "admin/core/base.html" %} {% load foundation %} {% load static %} {% block title %}{% if request.repository %}Edit Repository{% else %}Create New Repository{% endif %}{% endblock %} {% block title-section %}Repository Wizard 🧙 {% endblock %} {% block nav %} {% include "admin/press/nav.html" %} {% endblock nav %} {% block body %}
{% if repository %} {% endif %}

{% if step == '1' %} Repository Details 1 {% elif step == '2' %} Repository Details 2 {% elif step == '3' %} Submission Details {% else %} Email Templates {% endif %}

{% include "elements/forms/errors.html" with form=form %}
{% csrf_token %} {{ form|foundation }}
{% if repository.history %} View History {% endif %}

Help

{% if not request.repository %}

This Wizard will guide you through setting up your Repository. You are currently on Step {{ step }} of 5.

{% else %}

You can use this Wizard to edit your repository's details.

{% endif %} {% include help_template %}
{% include 'admin/elements/history_modal.html' with obj=repository view_url="admin:repository_repository_history" %} {% endblock %} {% block js %} {% if step == '3' %} {% endif %} {% endblock %}