{% extends 'django_glue/form/field/input_field.html' %} {% block input_type %} type="number" {% endblock %} {% block extra_attributes %} {% if max %}max="{{ max }}"{% endif %} {% if min %}min="{{ min }}"{% endif %} {% if step %}step="{{ step }}"{% else %}step="1"{% endif %} {% endblock %}