From 0f951dcf029d4af284467543a3afdf5bf6581a20 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Tue, 23 Apr 2024 11:16:38 +0100 Subject: switched to Django --- templates/w3/layout/attrs.html | 1 + 1 file changed, 1 insertion(+) create mode 100644 templates/w3/layout/attrs.html (limited to 'templates/w3/layout/attrs.html') diff --git a/templates/w3/layout/attrs.html b/templates/w3/layout/attrs.html new file mode 100644 index 0000000..c52de9e --- /dev/null +++ b/templates/w3/layout/attrs.html @@ -0,0 +1 @@ +{% for name, value in widget.attrs.items %}{% if value is not False %} {{ name }}{% if value is not True %}="{{ value|stringformat:'s' }}"{% endif %}{% endif %}{% endfor %} -- cgit v1.2.3