frontend/templates/uswds_forms/date.html

Summary

Maintainability
Test Coverage
<span class="form-hint" id="{{ widget.hint_id }}">For example: 04 28 2016</span>

<uswds-date class="date-mm-dd-yy">
  <div class="usa-form-group usa-form-group-month">
  {% with widget=widget.subwidgets.month %}
    <label for="{{ widget.attrs.id }}">Month</label>
    {% include widget.template_name %}
  {% endwith %}
  </div>
  <div class="usa-form-group usa-form-group-day">
  {% with widget=widget.subwidgets.day %}
    <label for="{{ widget.attrs.id }}">Day</label>
    {% include widget.template_name %}
  {% endwith %}
  </div>
  <div class="usa-form-group usa-form-group-year">
  {% with widget=widget.subwidgets.year %}
    <label for="{{ widget.attrs.id }}">Year</label>
    {% include widget.template_name %}
  {% endwith %}
  </div>
</uswds-date>