{% extends "common/_modal_form.html" %} {% load i18n humanize %} {% load url from future %} {# fix for django 1.4.9 on CentOS #} {% block form_action %} {% url 'horizon:murano:catalog:add' environment_id app_id %} {% endblock %} {% block form_id %}create_service_form{% endblock %} {% block modal_id %}create_service{% endblock %} {% block modal-header %}{% trans "Add Application" %}{% endblock %} {% block modal-body %}
{{ wizard.management_form }} {% if wizard.form.forms %} {{ wizard.form.management_form }} {% for form in wizard.form.forms %} {{ form }} {% endfor %} {% else %}
{% with form=wizard.form %} {% include "common/_form_fields.html" %} {% endwith %}
{% endif %}

{% blocktrans %} {{ extended_description }} {% endblocktrans %}

{% blocktrans %} {{ service_name }} Application{% endblocktrans %}

{% for title, description in field_descriptions %}

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

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