haha
parent
eae0c5a3c2
commit
fc0613985b
|
@ -66,8 +66,8 @@ def post_guestbook():
|
|||
message = request.form['message'][0:400]
|
||||
name = request.form['name'][0:140]
|
||||
captcha = request.form['hmm']
|
||||
print(captcha)
|
||||
save_post(name, message)
|
||||
if captcha == "scriz":
|
||||
save_post(name, message)
|
||||
return redirect("/guestbook")
|
||||
|
||||
@app.route('/helpdesk', methods=['GET'])
|
||||
|
|
|
@ -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