app/views/locomotive/developers_documentation/show.html.slim in locomotivecms-3.1.0.rc1 vs app/views/locomotive/developers_documentation/show.html.slim in locomotivecms-3.1.0.rc2
- old
+ new
@@ -1,11 +1,7 @@
= title t('.title')
ul.nav.nav-tabs role='tablist'
- li.active= link_to t('.wagon'), '#wagon', role: 'tab', data: { toggle: 'tab' }
- li= link_to t('.api'), '#api', role: 'tab', data: { toggle: 'tab' }
+ = render 'tabs'
.tab-content
- - %w(wagon api).each_with_index do |name, index|
- .tab-pane id=name class=(index == 0 ? 'active' : '')
- .documentation
- = render "locomotive/developers_documentation/#{name}"
+ = render 'panes'