coverted SQLFORM to html form