{% extends 'generic/object_edit.html' %} {% load buttons %} {% load custom_links %} {% load form_helpers %} {% load helpers %} {% load perms %} {% load plugins %} {% load tabs %} {% load i18n %} {# Render the SAME object header the detail-style tabs use (generic/object.html), #} {# so switching between the object's tabs keeps identical header chrome — #} {# breadcrumb + identifier, object title, created/updated, Bookmark/Subscribe/ #} {# Edit/Delete, and the tab strip. Only the header blocks are overridden; the edit #} {# form (block form / content) is left to object_edit.html, so the save path is #} {# unchanged. The view supplies `tab` and `actions` (ObjectEditView injects #} {# neither). #} {% block page-header %}
{% block object_identifier %}
{{ object|meta:"app_label" }}.{{ object|meta:"model_name" }}:{{ object.pk }}
{% if object.slug %}({{ object.slug }}){% endif %}
{% endblock object_identifier %}
| {% trans "Proxmox-side writes" %} | {% if object.allow_writes %} {% trans "Allowed" %} {% else %} {% trans "Disabled" %} {% endif %} |
|---|---|
| {% trans "Current SSH credential source" %} | {{ object.get_ssh_credential_source_display }} {% if object.ssh_credential_source == 'reuse_endpoint' %} {% blocktrans trimmed with username=object.effective_ssh_username %} Effective SSH username: {{ username }} {% endblocktrans %} {% endif %} |