{% extends "projects/base.html" %} {% load blocktrans trans from i18n %} {% load crispy from crispy_forms_tags %} {% block title %} {% trans "Add project" %} {% endblock title %} {% block content %} {% block project_add_grid %}
{% block project_add_header %}
{# Placeholder for column offset #}

{% trans "Add project" %}
{% block project_add_subheader %} {% endblock project_add_subheader %}

{% endblock project_add_header %} {% block project_add_sidebar %}
{% block project_add_sidebar_content %} {% endblock project_add_sidebar_content %} {% block project_add_sidebar_help %} {# This hides the help on small view ports. It could be something better like and accordian #}

{% trans "Help topics" %}

{% block project_add_sidebar_help_topics %} {% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/intro/import-guide.html" text="Connecting a repository" is_external=True class="item" %} {% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/tutorial/index.html" text="Read the Docs tutorial" is_external=True class="item" %} {% include "includes/elements/link.html" with url="https://docs.readthedocs.io/page/examples.html" text="Example projects" is_external=True class="item" %} {% endblock project_add_sidebar_help_topics %}
{% endblock project_add_sidebar_help %}
{% endblock project_add_sidebar %} {% block project_add_content %}
{% block project_add_content_form %}
{% block wizard_form %} {% if wizard.form.forms %} {{ wizard.form.management_form }} {% for form in wizard.form.forms %} {% csrf_token %} {{ form|crispy }} {% endfor %} {% else %} {{ wizard.form|crispy }} {% endif %} {% endblock wizard_form %} {% csrf_token %} {{ wizard.management_form }} {% block wizard_actions %}
{% if wizard.steps.prev %} {% endif %} {% if wizard.steps.next %} {% endif %} {% if wizard.steps.current == "config" %} {% endif %}
{% endblock wizard_actions %}
{% endblock project_add_content_form %}
{% endblock project_add_content %}
{% endblock project_add_grid %} {% endblock content %}