@@ -23,13 +23,11 @@ class ElectionForm(forms.Form):
...
@@ -23,13 +23,11 @@ class ElectionForm(forms.Form):
ifsettings.ALLOW_ELECTION_INFO_URL:
ifsettings.ALLOW_ELECTION_INFO_URL:
election_info_url=forms.CharField(required=False,initial="",label="Election Info Download URL",help_text="the URL of a PDF document that contains extra election information, e.g. candidate bios and statements")
election_info_url=forms.CharField(required=False,initial="",label="Election Info Download URL",help_text="the URL of a PDF document that contains extra election information, e.g. candidate bios and statements")
classElectionTimesForm(forms.Form):
# times
# times
voting_starts_at=SplitDateTimeField(help_text='UTC date and time when voting begins',
voting_starts_at=SplitDateTimeField(help_text='UTC date and time when voting begins',
widget=SplitSelectDateTimeWidget)
widget=SplitSelectDateTimeWidget,required=False)
voting_ends_at=SplitDateTimeField(help_text='UTC date and time when voting ends',
voting_ends_at=SplitDateTimeField(help_text='UTC date and time when voting ends',