There's no real point in linking to a page offering users to choose a heading when there's only one heading to choose. So we're linking to the investments index instead.
Assigning variables in the view makes the code harder to read.
This way it'll be easier to extract methods from its code and modify them.