{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% load url from future %}

{% block form_id %}provision_form{% endblock %}
{% block form_action %}{% url 'horizon:infrastructure:overcloud:undeploy_confirmation' overcloud_id %}{% endblock %}

{% block modal_id %}provision_modal{% endblock %}
{% block modal-header %}{% trans "Provisioning Confirmation" %}{% endblock %}

{% block modal-body %}
<div>
    <p>{% trans "You are about undeploy your overcloud" %}
    </p>
    <p>{% trans "This operation cannot be undone. Are you sure you want to do that?" %}</p>
  <fieldset>
  {% include "horizon/common/_form_fields.html" %}
  </fieldset>
</div>
{% endblock %}

{% block modal-footer %}
  <input class="btn btn-primary" type="submit" value="{% trans "Undeploy" %}" />
  <a href="{% url 'horizon:infrastructure:overcloud:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a>
{% endblock %}

{% extends "horizon/common/_modal_form.html" %}
{% load i18n %}
{% load url from future %}

{% block form_id %}provision_form{% endblock %}
{% block form_action %}{% url 'horizon:infrastructure:overcloud:undeploy_confirmation' plan_id %}{% endblock %}

{% block modal_id %}provision_modal{% endblock %}
{% block modal-header %}{% trans "Provisioning Confirmation" %}{% endblock %}

{% block modal-body %}
<div>
    <p>{% trans "You are about undeploy your overcloud" %}
    </p>
    <p>{% trans "This operation cannot be undone. Are you sure you want to do that?" %}</p>
  <fieldset>
  {% include "horizon/common/_form_fields.html" %}
  </fieldset>
</div>
{% endblock %}

{% block modal-footer %}
  <input class="btn btn-primary" type="submit" value="{% trans "Undeploy" %}" />
  <a href="{% url 'horizon:infrastructure:overcloud:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a>
{% endblock %}

Fix the undeploy confirmation modal
Fix the undeploy confirmation modal

Change-Id: I55cefae8802f0fdd9293b74bf904cc8cd38a3e0a
Closes-bug: #1334717
