added template for subscribing to mail notifications (untested)

multi-deployment
b3yond 2018-07-21 15:07:47 +02:00
parent d7eba3d233
commit 89fce872f3
1 changed files with 15 additions and 0 deletions

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