11<!DOCTYPE html>
22< html lang ="en ">
3- < head >
4- < title > Login to the Fairfield Programming Association</ title >
5- < include src ="./includes/head.html "> </ include >
6- < link rel ="stylesheet " href ="../style.css " />
7- </ head >
8- < body class ="text-center ">
9- < main class ="form-signin ">
10- < form >
11- < a href ="/ ">
12- < img class ="mb-4 " alt ="" width ="240 " src ="/resources/logo.svg " />
13- </ a >
14- < h1 class ="h3 mb-3 fw-normal "> Login Below</ h1 >
153
16- < div class ="form-floating ">
17- < input
18- type ="email "
19- class ="form-control "
20- id ="floatingInput "
21- placeholder ="name@example.com "
22- />
23- < label for ="floatingInput "> Email address</ label >
24- </ div >
25- < div class ="form-floating ">
26- < input
27- type ="password "
28- class ="form-control "
29- id ="floatingPassword "
30- placeholder ="Password "
31- />
32- < label for ="floatingPassword "> Password</ label >
33- </ div >
34- <!--
4+ < head >
5+ < title > Login to the Fairfield Programming Association</ title >
6+ < include src ="./includes/head.html "> </ include >
7+ < link rel ="stylesheet " href ="../style.css " />
8+ </ head >
9+ 10+ < body class ="text-center ">
11+ < main class ="form-signin ">
12+ < form action ="https://fairfield-programming.herokuapp.com/user/login " method ="POST ">
13+ < a href ="/ ">
14+ < img class ="mb-4 " alt ="" width ="240 " src ="/resources/logo.svg " />
15+ </ a >
16+ < h1 class ="h3 mb-3 fw-normal "> Login Below</ h1 >
17+ 18+ < div class ="form-floating ">
19+ < input type ="text " name ="username " class ="form-control " id ="floatingInput " placeholder ="Username " />
20+ < label for ="floatingPassword "> Username</ label >
21+ </ div >
22+ < div class ="form-floating ">
23+ < input type ="email " name ="email " class ="form-control " id ="floatingInput " placeholder ="name@example.com " />
24+ < label for ="floatingInput "> Email address</ label >
25+ </ div >
26+ < div class ="form-floating ">
27+ < input type ="password " name ="password " class ="form-control " id ="floatingPassword " placeholder ="Password " />
28+ < label for ="floatingPassword "> Password</ label >
29+ </ div >
30+ <!--
3531 <div class="checkbox mb-3">
3632 <label>
3733 <input type="checkbox" value="remember-me" /> Remember me
3834 </label>
3935 </div> -->
4036
41- < button class ="w-100 btn btn-lg btn-primary " type ="submit ">
42- Login
43- </ button >
44- < a class ="w-100 text-muted p-4 " href ="/auth/signup " type ="submit ">
45- Go to Signup
46- </ a >
47- < p class ="mt-5 mb-3 text-muted "> © 2021-2022</ p >
48- </ form >
49- </ main >
50- </ body >
51- </ html >
37+ < button class ="w-100 btn btn-lg btn-primary " type ="submit ">
38+ Login
39+ </ button >
40+ < a class ="w-100 text-muted p-4 " href ="/auth/signup " type ="submit ">
41+ Go to Signup
42+ </ a >
43+ < p class ="mt-5 mb-3 text-muted "> © 2021-2022</ p >
44+ </ form >
45+ </ main >
46+ </ body >
47+ 48+ </ html >
0 commit comments