{% if route == app.request.attributes.get('_route') %}
<ul class="nav-selected">
	<i class="{{ icon }} icon"></i>
	{{ name }}
</ul>
{% else %}
<ul>
	<a href="{{ url(route, {}, false) }}"><i class="{{ icon }} icon"></i>
		{{ name }}</a>
</ul>
{% endif %}