form templates now generated on the server side