gitlab-org--gitlab-foss/spec/javascripts/fixtures/linked_tabs.html.haml
Filipa Lacerda 640062abdb Adds tests for tabs in the rspec for pipelines
Adds tests for the Linked Tabs class

Removes event listener

Adds builds
2016-11-30 17:06:46 +00:00

13 lines
335 B
Text

%ul.nav.nav-tabs.linked-tabs
%li
%a{ href: 'foo/bar/1', data: { target: 'div#tab1', action: 'tab1', toggle: 'tab' } }
Tab 1
%li
%a{ 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