File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed
Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ <h2>Log in with</h2>
2929</ div >
3030< form class ="ui large form " style ="text-align: left; " method ="post ">
3131 {% csrf_token %}
32- < div class ="field ">
32+ < div class ="field {% if form.username.errors %}error{% endif %} ">
3333 < div class ="ui left icon input ">
3434 < i class ="envelope icon "> </ i >
3535 < input type ="text " name ="username " placeholder ="Email ">
3636 </ div >
3737 </ div >
38- < div class ="field ">
38+ < div class ="field {% if form.password.errors %}error{% endif %} ">
3939 < div class ="ui left icon input ">
4040 < i class ="lock icon "> </ i >
4141 < input type ="password " name ="password " placeholder ="Password ">
Original file line number Diff line number Diff line change 2121 </ div >
2222 </ div >
2323</ body >
24-
2524</ html >
Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ <h2>Sign up with</h2>
6161 </ div >
6262 < div class ="field ">
6363 < div class ="ui checkbox ">
64- < input type ="checkbox " name ="newsletter ">
65- < label > I'd like to receive PlacePass news and offers</ label >
64+ < input type ="checkbox " name ="newsletter " id =" newsletter-checkbox " >
65+ < label for =" newsletter-checkbox " > I'd like to receive PlacePass news and offers</ label >
6666 </ div >
6767 </ div >
6868 < h5 class ="ui grey header "> By signing up, I agree to the PlacePass < a href ="http://www.example.com "> < span > Terms of
You can’t perform that action at this time.
0 commit comments