{% load material_form material_form_internal %}
{% part field label %}
{% endpart %} {% part field prefix %}{% endpart %} {% part field control %} {% with bound_field|select_date_widget_wrapper as wrapper %} {% for select in wrapper.selects %}{% if select.type == "day" %}
{% for value, choice in select.choices %} {% endfor %}
{% endif %}{% if select.type == "month" %}
{% for value, choice in select.choices %} {% endfor %}
{% endif %}{% if select.type == "year" %}
{% for value, choice in select.choices %} {% endfor %}
{% endif %} {% endfor %}{% endwith %}
{% part field help_text %}{% if field.help_text %}
{{ bound_field.help_text|safe }}
{% endif %}{% endpart %}{% part field errors %} {% if bound_field.errors %} {% include 'material/field_errors.html' %} {% endif %}{% endpart %}{{ hidden_initial }} {% endpart %}