File tree 4 files changed +4
-4
lines changed 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11
11
def hello_world ():
12
12
return render_template ('index.html' )
13
13
14
- @app .route ('/signup.html ' , methods = ['POST' ])
14
+ @app .route ('/signup' , methods = ['POST' ])
15
15
def signup ():
16
16
email = request .form ['email' ]
17
17
email_addresses .append (email )
Original file line number Diff line number Diff line change 50
50
< div id ="banner ">
51
51
< h1 > cats everywhere</ h1 >
52
52
< p class ="lead "> We're bringing cats to the internet. Free. Cute. Awesome.</ p >
53
- < form action ="signup.html " method ="post ">
53
+ < form action ="/ signup " method ="post ">
54
54
< input type ="text " name ="email "> </ input >
55
55
< input type ="submit " value ="Signup "> </ input >
56
56
</ form >
Original file line number Diff line number Diff line change 8
8
def hello_world ():
9
9
return render_template ('index.html' )
10
10
11
- @app .route ('/signup.html ' , methods = ['POST' ])
11
+ @app .route ('/signup' , methods = ['POST' ])
12
12
def signup ():
13
13
email = request .form ['email' ]
14
14
print ("The email address is '" + email + "'" )
Original file line number Diff line number Diff line change 50
50
< div id ="banner ">
51
51
< h1 > cats everywhere</ h1 >
52
52
< p class ="lead "> We're bringing cats to the internet. Free. Cute. Awesome.</ p >
53
- < form action ="signup.html " method ="post ">
53
+ < form action ="/ signup " method ="post ">
54
54
< input type ="text " name ="email "> </ input >
55
55
< input type ="submit " value ="Signup "> </ input >
56
56
</ form >
You can’t perform that action at this time.
0 commit comments