Re-added the html generatrion code in drawBackOfficeInputs()