Skip to content

Commit

Permalink
Add date attributes to DayMonthYearWidget for non current leaflets
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley committed Oct 1, 2024
1 parent 8867d6d commit 5f8cebb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions electionleaflets/apps/leaflets/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

class DayMonthYearWidget(MultiWidget):
template_name = "leaflets/includes/dc_date_widget.html"
widgets_names = ["day", "month", "year"]

def __init__(self, attrs=None):
self.widgets = [
Expand Down

0 comments on commit 5f8cebb

Please sign in to comment.