Bugfix: variables in form templates were not replaced with their values
upon rendering