1
{% extends "horizon/common/_modal_form.html" %}
3
{% load url from future %}
5
{% block form_id %}attach_volume_form{% endblock %}
6
{% block form_action %}{% url 'horizon:project:volumes:attach' volume.id %}{% endblock %}
7
{% block form_class %}{{ block.super }} horizontal {% if show_attach %}split_half{% else %} no_split{% endif %}{% endblock %}
9
{% block modal_id %}attach_volume_modal{% endblock %}
10
{% block modal-header %}{% trans "Manage Volume Attachments" %}{% endblock %}
12
{% block modal-body %}
14
<h3>{% trans "Attach To Instance" %}</h3>
16
{% include "horizon/common/_form_fields.html" %}
21
{% block modal-footer %}
23
<input class="btn btn-primary pull-right" type="submit" value="{% trans "Attach Volume" %}" />
25
<a href="{% url 'horizon:project:volumes:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a>