Removed database code from search form template.