haha
parent
eae0c5a3c2
commit
fc0613985b
|
@ -66,7 +66,7 @@ def post_guestbook():
|
|||
message = request.form['message'][0:400]
|
||||
name = request.form['name'][0:140]
|
||||
captcha = request.form['hmm']
|
||||
print(captcha)
|
||||
if captcha == "scriz":
|
||||
save_post(name, message)
|
||||
return redirect("/guestbook")
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<input type="text" name="name" maxlength="140" />
|
||||
</td>
|
||||
<td>
|
||||
<textarea maxlength="400" style="border:0px"name="message" cols="100" rows="10"></textarea>
|
||||
<textarea maxlength="400" style="border:0px"name="message" cols="50" rows="10"></textarea>
|
||||
</td>
|
||||
<td>
|
||||
<input type="radio" name="hmm" value="scriz" selected="true">yeah<br>
|
||||
|
|
Reference in New Issue