summaryrefslogtreecommitdiff
path: root/app/views/tabs/_tab.html.haml
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-12-18 17:01:34 +0100
committerAzul <azul@leap.se>2012-12-18 17:01:34 +0100
commitdc827d0a80360aa245d4d724dc42bc47571faea6 (patch)
tree361b0be19535b0d7ddb3eaac7acdfcebc7a0e3a8 /app/views/tabs/_tab.html.haml
parent42a76e82c8c1911f04a71244eea3ac07275367df (diff)
refactor: using tab partials for user editing
Diffstat (limited to 'app/views/tabs/_tab.html.haml')
-rw-r--r--app/views/tabs/_tab.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/tabs/_tab.html.haml b/app/views/tabs/_tab.html.haml
new file mode 100644
index 0000000..adab666
--- /dev/null
+++ b/app/views/tabs/_tab.html.haml
@@ -0,0 +1,2 @@
+.tab-pane{:id => tab, :class => (:active if tab == @anchor)}
+ = content_for tab