Phoenix, templates, and active navbar items
Thu 22 December 2016
We build a web-app, and want the items on the navigation bar to be active when the user visits the corresponding page, like this:
I'm not saying that this is a complicated task in other frameworks, but it often feels "hacky". Here is a phoenix solution that feels pretty elegant …
Continue reading »