gitlab-org--gitlab-foss/spec/javascripts/fixtures/linked_tabs.html.haml

14 lines
388 B
Text
Raw Normal View History

2018-04-12 14:47:30 -04:00
%ul.nav.nav-tabs.new-session-tabs.linked-tabs
2018-04-10 16:06:49 -04:00
%li.nav-item
%a.nav-link{ href: 'foo/bar/1', data: { target: 'div#tab1', action: 'tab1', toggle: 'tab' } }
Tab 1
2018-04-10 16:06:49 -04:00
%li.nav-item
%a.nav-link{ href: 'foo/bar/1/context', data: { target: 'div#tab2', action: 'tab2', toggle: 'tab' } }
Tab 2
.tab-content
#tab1.tab-pane
Tab 1 Content
#tab2.tab-pane
Tab 2 Content