added template for subscribing to mail notifications (untested)

master
b3yond 2018-07-21 15:07:47 +02:00
parent 70d5c2c260
commit 19d5c8983f
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}}