Skip to content

Instantly share code, notes, and snippets.

@ArnoldoRicardo
Created July 13, 2014 02:38
Show Gist options
  • Save ArnoldoRicardo/000a2f82bf83e7e5d5ce to your computer and use it in GitHub Desktop.
Save ArnoldoRicardo/000a2f82bf83e7e5d5ce to your computer and use it in GitHub Desktop.
menu
<ul class="nav navbar-nav">
{% url 'cursos' as url %}
<li {% if request.path == url %} class="active"{% endif %}><a href="{{ url }}">cursos</a></li>
{% url 'estadisticas' as url %}
<li {% if request.path == url %} class="active"{% endif %}><a href="{{ url }}">estadisticas</a></li>
{% url 'administrativos' as url %}
<li {% if request.path == url %} class="active"{% endif %}><a href="{{ url }}">administrativos</a></li>
</ul>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment