Moved form to views and made index linked.