added template for subscribing to mail notifications (untested)
This commit is contained in:
parent
d7eba3d233
commit
89fce872f3
15
template/mail.tpl
Normal file
15
template/mail.tpl
Normal 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}}
|
Loading…
Reference in a new issue