Files @ 24b61c257aab
Branch filter:

Location: kallithea/docs/theme/nature/theme.conf - annotation

Thomas De Schampheleire
forms: wrap LoginForm inside function like other forms

All forms except LoginForm are wrapped inside a function. The original
purpose of this wrapping seems to be the ability to pass parameters to tweak
the form.

But, this also has another desired effect: translation of strings
wrapped with _ is no longer attempted when reading the class definition, but
only when the function is instantiated. In the former case, it is not
guaranteed that a translator is actually available because we are not
running in standard application context.

Align LoginForm with the others.
1
2
3
4
[theme]
inherit = basic
stylesheet = nature.css
pygments_style = tango