{% load i18n %} {% comment %} USAGE: {% include 'mtp_common/forms/date-picker-field.html' with field= only %} optional parameters: input_classes - classes to add to the input element value - input element value override instead of default filtered field value (ignored if None) attrs - dict of additional attributes TODO: the widget is not currently configurable {% endcomment %}
{% include 'mtp_common/forms/field-label.html' with field=field only %} {% include 'mtp_common/forms/field-errors.html' with field=field only %} {% with value=value|default:field.value %} {% endwith %}