small pixel drawing of a pufferfish nshc-form

Initial commit
j3s j3s@c3f.net
Tue, 09 Jun 2020 21:55:18 -0500
commit

589f9fa5d7411c9f36c3be26dc8fc76b70dd76a7

4 files changed, 27 insertions(+), 0 deletions(-)

jump to
A README

@@ -0,0 +1,2 @@

+ nothing to see here +--------------------------
A main.go

@@ -0,0 +1,9 @@

+package main + +import ( + "fmt" +) + +func main(){ + fmt.Println("Hello, world!") +}
A templates/confirmation.html

@@ -0,0 +1,2 @@

+<h1>Confirmation</h1> +<p>Your message has been sent!</p>
A templates/form.html

@@ -0,0 +1,14 @@

+<h1>Contact</h1> +<form action="/" method="POST" novalidate> + <div> + <p><label>Your email:</label></p> + <p><input type="email" name="email"></p> + </div> + <div> + <p><label>Your message:</label></p> + <p><textarea name="content"></textarea></p> + </div> + <div> + <input type="submit" value="Send message"> + </div> +</form>