##// END OF EJS Templates
authn: Only lookup settings from DB if they are really used....
authn: Only lookup settings from DB if they are really used. When computing the form defaults only query the DB if we need the value from DB.

File last commit:

r1:854a839a default
r285:f9e2ba9b default
Show More
test.mako
20 lines | 407 B | application/x-mako | MakoHtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
<%def name="subject()" filter="n,trim">
Test "Subject" ${_('hello "world"')|n}
</%def>
<%def name="headers()" filter="n,trim">
X=Y
</%def>
## plain text version of the email. Empty by default
<%def name="body_plaintext()" filter="n,trim">
Email Plaintext Body
</%def>
## BODY GOES BELOW
<b>Email Body</b>
${h.short_id('0' * 40)}
${_('Translation')}