{# Reusable field-cell for the server-detail config grid and any future key/value layouts. `value` is rendered as-is (caller can pass safe HTML via `|safe` if needed). `editable` is a flag the caller may use to switch rendering — currently informational only. #} {% macro config_field(label, value, editable=False) %}
{{ label }}
{{ value }}
{% endmacro %} {# Block form of config_field: lets the caller write the value as a Jinja template body, which keeps auto-escaping active for interpolated values. #} {% macro config_field_block(label, editable=False) %}
{{ label }}
{{ caller() }}
{% endmacro %} {# Console form — used by both the inline tab and the modal. The transcript ID differs per location to keep HTMX swaps independent. #} {% macro console_form(server, transcript_id) %}
>
{% endmacro %}