Add jinja2 relative links to pages

This commit is contained in:
Tristan Maat 2018-04-15 23:11:46 +00:00
parent c0fab723dc
commit e248caab29
2 changed files with 3 additions and 3 deletions
src/mail

View file

@ -6,7 +6,7 @@ block content
.row
//- The form
.col-md-6
form#sendmail(role="form", action="/api/mail", method="post")
form#sendmail(role="form", action="{{ url_for('mail') }}", method="post")
//- The sender address
.form-group
label.control-label(for="mail") Email address