8338b9b0e3
Dynamically generate views from OpenAPI document to List/CRUD LDAP users and groups in the UI
21 lines
606 B
Handlebars
21 lines
606 B
Handlebars
{{#with (tabs-for-auth-section model tabType paths) as |tabs|}}
|
|
{{#if tabs.length}}
|
|
<div class="tabs-container box is-sideless is-fullwidth is-paddingless is-marginless">
|
|
<nav class="tabs">
|
|
<ul>
|
|
{{#each tabs as |tab|}}
|
|
{{#link-to
|
|
params=tab.routeParams
|
|
tagName="li"
|
|
data-test-auth-section-tab=true
|
|
}}
|
|
{{#link-to params=tab.routeParams}}
|
|
{{tab.label}}
|
|
{{/link-to}}
|
|
{{/link-to}}
|
|
{{/each}}
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
{{/if}}
|
|
{{/with}} |