VE-1558 Template search UI

https://wikia-inc.atlassian.net/browse/VE-1558
Please add some inline comment for the clearfix.