Convert search material partial to ERB.