{% extends "dashboard/base.html" %} {% load i18n %} {% load sizefieldtags %} {% load crispy_forms_tags %} {% block title-page %}{% trans "Edit template" %}{% endblock %} {% block content %}
{% trans "Back" %}

{% trans "Edit template" %}

{% with form=form %} {% include "display-form-errors.html" %} {% endwith %} {% csrf_token %} {{ form.name|as_crispy_field }} {{ form.parent|as_crispy_field }}
{% trans "Resource configuration" %} {% include "dashboard/_resources-sliders.html" with field_priority=form.priority field_num_cores=form.num_cores field_ram_size=form.ram_size %} {{ form.max_ram_size|as_crispy_field }}
{% trans "Virtual machine settings" %} {{ form.arch|as_crispy_field }} {{ form.access_method|as_crispy_field }} {{ form.boot_menu|as_crispy_field }} {{ form.raw_data|as_crispy_field }} {{ form.req_traits|as_crispy_field }} {{ form.description|as_crispy_field }} {{ form.system|as_crispy_field }}
{% trans "External resources" %} {{ form.networks|as_crispy_field }} {{ form.lease|as_crispy_field }} {{ form.tags|as_crispy_field }}

{% trans "Manage access" %}

{% include "dashboard/_manage_access.html" with table_id="template-access-table" %}

{% trans "Disk list" %}

    {% if not disks %} {% trans "No disks are added!" %} {% endif %} {% for d in disks %}
  • {% include "dashboard/_disk-list-element.html" %}
  • {% endfor %}
{% endblock %} {% block extra_js %} {% endblock %}