added template for subscribing to mail notifications (untested)

This commit is contained in:
b3yond 2018-07-21 15:07:47 +02:00
parent d7eba3d233
commit 89fce872f3

15
template/mail.tpl Normal file
View file

@ -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}}