summaryrefslogtreecommitdiff
path: root/day7/templates/form.html
diff options
context:
space:
mode:
Diffstat (limited to 'day7/templates/form.html')
-rw-r--r--day7/templates/form.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/day7/templates/form.html b/day7/templates/form.html
new file mode 100644
index 0000000..e1edb96
--- /dev/null
+++ b/day7/templates/form.html
@@ -0,0 +1,26 @@
+<html style="background-color: {color};">
+ <body>
+ <form action="/show_errors" method="POST">
+ <input type="checkbox" name="show_errors" value="1">Show errors<br/>
+ <input type="submit" value="Send"><br/>
+ </form>
+
+ <form action="/div" method="POST">
+ Разделить
+ <input type="text" name="numerator"> на
+ <input type="text" name="denominator"><br/>
+ <input type="submit" value="Send"><br/>
+ </form>
+
+ <form action="/set_cookie/=" method="POST">
+ Изменить Cookies
+ <input type="text" name="cookie_line"><br/>
+ <input type="submit" value="Send"><br/>
+ </form>
+
+ <form action="/" method="POST">
+ <input type="checkbox" name="short_log" value="1">Short log<br/>
+ <input type="submit" value="Send"><br/>
+ </form>
+ </body>
+</html>