djLint/tests/source_django/input.html

5 lines
211 B
HTML
Raw Normal View History

2021-12-14 08:57:37 +00:00
<input type="{{ widget.type }}"
name="{{ widget.name }}"
{% if widget.value != None %}value="{{ widget.value|stringformat:'s' }}"{% endif %}
{% include "django/forms/widgets/attrs.html" %}>