summaryrefslogtreecommitdiffstats
path: root/templates/w3/layout/attrs.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/w3/layout/attrs.html')
-rw-r--r--templates/w3/layout/attrs.html1
1 files changed, 1 insertions, 0 deletions
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 %}