Add form on index to search for gadgets

I understand the search form is written in plain html. I was having
troubles with form_for for some reason. Had to get around it.