Add jinja2 relative links to pages
This commit is contained in:
parent
c0fab723dc
commit
e248caab29
2 changed files with 3 additions and 3 deletions
src/mail
|
@ -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
|
||||
|
|
Reference in a new issue