Skip to content

Commit

Permalink
Merge pull request #1 from meikoudras/patch-1
Browse files Browse the repository at this point in the history
fix main columns and use fluid rows
  • Loading branch information
Vladimir Krylov committed Jul 18, 2013
2 parents 4a9cd62 + a70837d commit 37601c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/api_docs/views/index.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
%body
.row
.span3
.row-fluid
.span2
%ul.nav.nav-list#api-doc-nav
- controllers.each_with_index do |(controller, actions), ci|
%li.nav-header
Expand All @@ -18,11 +18,11 @@
%li{:class => (ci == 0 && ai == 0) ? 'active' : ''}
- tab_id = "#{controller.gsub(/\W/, '_')}_#{action}"
%a{ href: "##{tab_id}", :data => {:toggle => 'tab'} }= action.humanize.titleize
.span13
.span10
.tab-content
- controllers.each_with_index do |(controller, actions), ci|
- actions.each_with_index do |(action, data), ai|
- tab_id = "#{controller.gsub(/\W/, '_')}_#{action}"
.tab-pane{:id => tab_id, :class => (ci == 0 && ai == 0) ? 'active' : ''}
- data.each do |_, data|
= haml :_action, locals: {action: data}
= haml :_action, locals: {action: data}

0 comments on commit 37601c8

Please sign in to comment.