overleaf/services/web/app/views/_mixins/bookmarkable_tabset.pug
Jakob Ackermann 2a935d7ab5 Merge pull request #5261 from overleaf/jpa-de-ng-more-complex-pages
[web] de-ng some of the complex pages

GitOrigin-RevId: 6c85bbf2d21cb2e8d3441202dfd299512bf71453
2021-09-30 08:03:53 +00:00

9 lines
226 B
Text

mixin bookmarkable-tabset-header(id, title, active)
li(role="presentation" class=(active ? 'active' : ''))
a(
href='#' + id
aria-controls=id
role="tab"
data-toggle="tab"
data-ol-bookmarkable-tab
) #{title}