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