{% load crispy_forms_tags %} {% load i18n %} {% load sizefieldtags %} {% include "display-form-errors.html" with form=vm_create_form %}
{% csrf_token %} {{ vm_create_form.template }} {{ vm_create_form.customized }}
{{ vm_create_form.name }}
{% if perms.vm.set_resources %}
{{ vm_create_form.amount }}

{% trans "Resources" %}

{% include "dashboard/_resources-sliders.html" with field_priority=vm_create_form.cpu_priority field_num_cores=vm_create_form.cpu_count field_ram_size=vm_create_form.ram_size %}

{% trans "Disks" %}

{{ vm_create_form.disks }}

{% trans "No disks are added." %}

{% trans "Network" %}

{{ vm_create_form.networks }}

{% trans "Not added to any network." %}

{% endif %}