This repository has been archived by the owner on Sep 11, 2019. It is now read-only.
forked from jroo/hourglass
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1640 from 18F/django-1-11
Upgrade to Django 1.11, use uswds_forms.
- Loading branch information
Showing
15 changed files
with
66 additions
and
296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<span class="form-hint" id="{{ widget.hint_id }}">For example: 04 28 2016</span> | ||
|
||
<uswds-date class="date-mm-dd-yy"> | ||
<div class="form-group form-group-month"> | ||
{% with widget=widget.subwidgets.month %} | ||
<label for="{{ widget.attrs.id }}">Month</label> | ||
{% include widget.template_name %} | ||
{% endwith %} | ||
</div> | ||
<div class="form-group form-group-day"> | ||
{% with widget=widget.subwidgets.day %} | ||
<label for="{{ widget.attrs.id }}">Day</label> | ||
{% include widget.template_name %} | ||
{% endwith %} | ||
</div> | ||
<div class="form-group form-group-year"> | ||
{% with widget=widget.subwidgets.year %} | ||
<label for="{{ widget.attrs.id }}">Year</label> | ||
{% include widget.template_name %} | ||
{% endwith %} | ||
</div> | ||
</uswds-date> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.