From f3c3f4e467459f8f0d5fd27468a9b6f46ea0bc05 Mon Sep 17 00:00:00 2001 From: Bobby Grace Date: Fri, 3 Sep 2010 23:56:18 -0400 Subject: [PATCH] adds active class to profile tab in dash nav, cleans up markup a bit --- templates/dashboard/base_dashboard.html | 8 ++++---- templates/profiles/create_profile.html | 2 ++ templates/profiles/edit_profile.html | 2 ++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/templates/dashboard/base_dashboard.html b/templates/dashboard/base_dashboard.html index d1171f950..f45c171bc 100644 --- a/templates/dashboard/base_dashboard.html +++ b/templates/dashboard/base_dashboard.html @@ -19,13 +19,13 @@ diff --git a/templates/profiles/create_profile.html b/templates/profiles/create_profile.html index 5c0f541cd..7160dda66 100644 --- a/templates/profiles/create_profile.html +++ b/templates/profiles/create_profile.html @@ -2,6 +2,8 @@ {% block title %}Create your profile{% endblock %} +{% block dash-nav-profile %}active{% endblock %} + {% block content-header %}

Create your profile

{% endblock %} diff --git a/templates/profiles/edit_profile.html b/templates/profiles/edit_profile.html index d6ee7cd97..164725602 100644 --- a/templates/profiles/edit_profile.html +++ b/templates/profiles/edit_profile.html @@ -2,6 +2,8 @@ {% block title %}Edit your profile{% endblock %} +{% block dash-nav-profile %}active{% endblock %} + {% block content-header %}

Edit your profile

{% endblock %}