{% load i18n %} {% load sizefieldtags %} {% load crispy_forms_tags %}
{% csrf_token %} {% include "dashboard/_resources-sliders.html" with field_priority=resources_form.priority field_num_cores=resources_form.num_cores field_ram_size=resources_form.ram_size %} {% if op.resources_change %} {% trans "Stop your VM to change resources." %} {% endif %}

{% trans "Disks" %}
{% include "dashboard/vm-detail/_disk-operations.html" %}

{% if not instance.disks.all %} {% trans "No disks are added!" %} {% endif %} {% for d in instance.disks.all %}

{% with long_remove=True %} {% include "dashboard/_disk-list-element.html" %} {% endwith %}

{% endfor %}
{% if user.is_superuser %}

{% trans "Required traits" %}

{% crispy traits_form %}

{% trans "Raw data" %}

{% crispy raw_data_form %}
{% endif %} {% block extra_js %} {% endblock %}