File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 21
21
< div class ="form-group ">
22
22
< label for ="start_date " class ="control-label col-xs-2 "> Start Date:</ label >
23
23
< div class ="col-xs-3 ">
24
- < input type ="start_date " class ="form-control " id ="start_date " name ="start_date " placeholder ="YYYY-MM-DD ">
24
+ < input type ="start_date " class ="form-control " id ="start_date " name ="start_date " placeholder ="YYYY-MM-DD " pattern =" (?:20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31)) " required >
25
25
</ div >
26
26
</ div >
27
27
28
28
< div class ="form-group ">
29
29
< label for ="end_date " class ="control-label col-xs-2 "> End Date:</ label >
30
30
< div class ="col-xs-3 ">
31
- < input type ="end_date " class ="form-control " id ="end_date " name ="end_date " placeholder ="YYYY-MM-DD ">
31
+ < input type ="end_date " class ="form-control " id ="end_date " name ="end_date " placeholder ="YYYY-MM-DD " pattern =" (?:20)[0-9]{2}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1[0-9]|2[0-9])|(?:(?!02)(?:0[1-9]|1[0-2])-(?:30))|(?:(?:0[13578]|1[02])-31)) " required >
32
32
</ div >
33
33
</ div >
34
34
47
47
48
48
</ form >
49
49
50
- {% endblock %}
50
+ {% endblock %}
You can’t perform that action at this time.
0 commit comments