diff --git a/l4d2web/l4d2web/templates/_macros.html b/l4d2web/l4d2web/templates/_macros.html new file mode 100644 index 0000000..b78ed87 --- /dev/null +++ b/l4d2web/l4d2web/templates/_macros.html @@ -0,0 +1,10 @@ +{# 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) %} +