{% extends 'rcallocation/allocationrequest_base.html' %} {% load static %} {% block title %}Approve Request{% endblock title %} {% block description %} Instructions for approving an allocation: {% endblock description %} {% block form_action %}{% url 'horizon:allocation:requests:approve_request' object.pk %}{% endblock %} {% block submit_buttons %}
{% if warnings|length > 0 %} {% endif %}
{% endblock %} {% block quotas %}

Cloud Resources

{% if form.instance.bundle %}
{% include "rcallocation/field.html" with field=form.bundle %}

Is this a suitable bundle? Review the Resource Bundle Table before approving.

{% else %}

Custom Bundle Selected

{% endif %} {% if not form.instance.bundle %}

Cloud Wide Resources

{% for st, fields in form.single_zone_quota_fields %}
{{ st }}
{% for field in fields %} {% if not form.instance.bundle or field.value %}
{% include "rcallocation/quota_field.html" with field=field %}
{% endif %} {% endfor %}
{% endfor %} {% endif %}

Availability Zone Resources

{% for st, zones in form.multi_zone_quota_fields %}
{{ st }} {% for zone, fields in zones.items %}

{{ zone }}

{% for field in fields %}
{% include "rcallocation/quota_field.html" with field=field %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endblock %}