{% spaceless %}
  <input {% if widget %}
    type="{{ widget.type }}" name="{{ widget.name }}"
      {% if widget.value != None %} value="{{ widget.value|stringformat:'s' }}"{% endif %}
      {% endif %}
      {% include "components/form/attrs.html" %}>
{% endspaceless %}
