From 89fce872f3c68b94aef1fd874ad3d69db3019748 Mon Sep 17 00:00:00 2001 From: b3yond <b3yond@riseup.net> Date: Sat, 21 Jul 2018 15:07:47 +0200 Subject: [PATCH] added template for subscribing to mail notifications (untested) --- template/mail.tpl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 template/mail.tpl diff --git a/template/mail.tpl b/template/mail.tpl new file mode 100644 index 0000000..2813e17 --- /dev/null +++ b/template/mail.tpl @@ -0,0 +1,15 @@ +% rebase('template/wrapper.tpl') + +<% +import markdown as md + +html = md.markdown(markdown) +%> + +<form action="/city/mail/<% print(city) %>" method="post"> + <input type="text" name="mailaddress" placeholder="E-Mail address" id="mailaddress"> + <input name='confirm' value='Subscribe to E-Mail notifications' type='submit'/> +</form> + + +{{!html}}