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

{% block form_id %}change_instance_password_form{% endblock %}

{% block form_action %}{% url "horizon:project:instances:changepassword" instance_id %}{% endblock %}

{% block modal_id %}change_instance_password_modal{% endblock %}
{% block modal-header %}{% trans "Change Instance Password" %}{% endblock %}

{% block modal-body %}
<fieldset>
    {% include "horizon/common/_form_fields.html" %}
</fieldset>
{% endblock %}
{% block modal-footer %}
    <a href="{% url "horizon:project:instances:index" %}" class="btn btn-default cancel">
        {% trans "Cancel" %}
    </a>
    <input class="btn btn-primary" type="submit" id="changepassword_button"
           value="{% trans "Change Password" %}" />
{% endblock %}
