Split search view and template into two views and templates; change tabs to spaces in router and search views.