1
{% extends "horizon/common/_modal_form.html" %}
3
{% load url from future %}
5
{% block form_id %}{% endblock %}
6
{% block form_action %}{% url 'horizon:project:volumes:create_snapshot' volume_id %}{% endblock %}
8
{% block modal_id %}create_volume_snapshot_modal{% endblock %}
9
{% block modal-header %}{% trans "Create Volume Snapshot" %}{% endblock %}
11
{% block modal-body %}
14
{% include "horizon/common/_form_fields.html" %}
17
<div class="right quota-dynamic">
18
{% include "project/volumes/_limits.html" with usages=usages snapshot_quota=True %}
22
{% block modal-footer %}
24
<input class="btn btn-primary btn-warning pull-right" type="submit" value="{% trans "Create Volume Snapshot (Force)" %}" />
26
<input class="btn btn-primary pull-right" type="submit" value="{% trans "Create Volume Snapshot" %}" />
28
<a href="{% url 'horizon:project:volumes:index' %}" class="btn secondary cancel close">{% trans "Cancel" %}</a>