How to render a form by hand