Add @ to variables in template.

Without this patch, warnings such as this are thrown.

`Warning: Variable access via 'search' is deprecated. Use '@search'
instead.`