summaryrefslogtreecommitdiff
path: root/app/views/tabs/_nav.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/tabs/_nav.html.haml')
-rw-r--r--app/views/tabs/_nav.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/tabs/_nav.html.haml b/app/views/tabs/_nav.html.haml
new file mode 100644
index 0000000..6974c06
--- /dev/null
+++ b/app/views/tabs/_nav.html.haml
@@ -0,0 +1,2 @@
+%li{:class => (:active if nav == @anchor)}
+ %a{:href => "##{nav}", 'data-toggle' => 'tab'}= t("tabs.#{nav}")