{% extends "dashboard/base.html" %} {% load staticfiles %} {% load i18n %} {% load sizefieldtags %} {% load crispy_forms_tags %} {% block title-page %}{{ form.name.value }} | {% trans "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 }} {% trans "Parent template" %}: {% if parent %} {{ parent.name }} {% else %} - {% endif %}
{% 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 }} {{ form.has_agent|as_crispy_field }}
{% trans "External resources" %} {{ form.networks|as_crispy_field }} {{ form.lease|as_crispy_field }} {{ form.tags|as_crispy_field }}
{% if is_owner %}
{% trans "Delete" %}

{% trans "Delete template" %}

{% endif %}

{% trans "Owner" %}

{% if user == object.owner %} {% blocktrans %}You are the current owner of this template.{% endblocktrans %} {% else %} {% url "dashboard.views.profile" username=object.owner.username as url %} {% blocktrans with owner=object.owner name=object.owner.get_full_name%} The current owner of this template is {{name}} ({{owner}}). {% endblocktrans %} {% endif %} {% if user == object.owner or user.is_superuser %} {% trans "Transfer ownership..." %} {% endif %}

{% trans "Manage access" %}

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

{% trans "Access level rights" %}

{% trans "User" %}
{% blocktrans %} Can create instances from this template but cannot manage access or edit the attributes. {% endblocktrans %}
{% trans "Operator" %}
{% blocktrans %} Same as user, however operators can grant user level access to this template for groups or users and they can revoke user level accesses. {% endblocktrans %}
{% trans "Owner" %}
{% blocktrans %} Owners can edit the template's attributes, delete it, transfer the ownership and also grant user, operator and owner level access to the template. {% endblocktrans %}

{% trans "Disk list" %}

{% endblock %} {% block extra_js %} {% endblock %}