Added log form to template