Permalink
Browse files

Updatet the tabs to bootstrap2.

  • Loading branch information...
1 parent 8a624f7 commit f0a4729e1e27731348031c2071493ae8406cfa8d Andi Staub (CyT) committed Mar 26, 2012
Showing with 8 additions and 5 deletions.
  1. +8 −5 app/views/projects/_show.html.haml
@@ -1,7 +1,10 @@
-%ul.tabs
- %li.active= link_to 'Details', '#details'
- %li= link_to 'Stundenrapport', '#activities'
+.tabbable
+ %ul.nav.nav-tabs
+ %li.active= link_to 'Details', '#details', {:data => {:toggle => 'tab'}}
+ %li= link_to 'Stundenrapport', '#activities', {:data => {:toggle => 'tab'}}
.tab-content
- #details.active= render "form"
- #activities= render 'show_activities'
+ #details.tab-pane.active
+ = render "form"
+ #activities.tab-pane
+ = render 'show_activities'

0 comments on commit f0a4729

Please sign in to comment.