set template and fetch form html