Refactor nav link generation

- move tab data to helper
- generate markup with ERB rather than rails helpers