djLint/tests/source_django/input.html
2021-12-14 09:57:37 +01:00

4 lines
211 B
HTML

<input type="{{ widget.type }}"
name="{{ widget.name }}"
{% if widget.value != None %}value="{{ widget.value|stringformat:'s' }}"{% endif %}
{% include "django/forms/widgets/attrs.html" %}>