{% extends "common/_modal_form.html" %} {% load i18n humanize %} {% block form_action %}{% url horizon:project:murano:create %}{% endblock %} {% block form_id %}create_service_form{% endblock %} {% block modal_id %}create_service{% endblock %} {% block modal-header %}{% trans "Create Service" %}{% endblock %} {% block modal-body %}
{{ wizard.management_form }} {% if wizard.form.forms %} {{ wizard.form.management_form }} {% for form in wizard.form.forms %} {{ form }} {% endfor %} {% else %}
{% include "common/_form_fields.html" %}
{% endif %}
{% if wizard.steps.index > 0 %}

{% blocktrans %} {{ service_name }} Service{% endblocktrans %}

{% for title, description in field_descriptions %}

{% if title %} {% blocktrans %}{{ title }}:{% endblocktrans %} {% endif %} {% blocktrans %}{{ description }}{% endblocktrans %}

{% endfor %} {% else %}

{% trans "Description" %}:

{% for service_type, description in service_descriptions %}

{% autoescape off %} {% blocktrans %} {{ description }} {% endblocktrans %} {% endautoescape %}

{% endfor %}

{% blocktrans %} If you want your services to work with AD you should create The Active Directory Service first {% endblocktrans %}

{% endif %}
{% endblock %} {% block modal-footer %} {{ wizard.form.media }} {% if wizard.steps.next or wizard.steps.index == 0 %} {% trans "Next" as next %} {% else %} {% trans "Create" as next %} {% endif %} {% if wizard.steps.index > 0 %} {% else %} {% endif %} {% endblock %}