Browse code

Add language field (hidden) in the subscribe form

Dario Rodriguez authored on 20/05/2015 14:47:40
Showing 1 changed files
... ...
@@ -3,8 +3,9 @@
3 3
 <head><title>Newsletter</title></head>
4 4
 <body>
5 5
 <form action="/~/addemail" method="post">
6
+	<input type="hidden" name="language" value="eng">
6 7
 	<input id="email" name="email" placeholder="e-mail">
7 8
 	<input type="submit" value="subscribe">
8
-<form>
9
+</form>
9 10
 </body>
10 11
 </html>
Browse code

Add simple form to ask for the e-mail and get the reply via POST request

Dario Rodriguez authored on 05/05/2015 19:14:56
Showing 1 changed files
... ...
@@ -1,5 +1,10 @@
1 1
 <!doctype html>
2 2
 <html>
3 3
 <head><title>Newsletter</title></head>
4
-<body></body>
4
+<body>
5
+<form action="/~/addemail" method="post">
6
+	<input id="email" name="email" placeholder="e-mail">
7
+	<input type="submit" value="subscribe">
8
+<form>
9
+</body>
5 10
 </html>
Browse code

Basic webserver part (blatantly ripped from kakumei)

Dario Rodriguez authored on 23/04/2015 20:11:31
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,5 @@
1
+<!doctype html>
2
+<html>
3
+<head><title>Newsletter</title></head>
4
+<body></body>
5
+</html>