open-vault/ui/app/templates/partials/role-ssh/show.hbs

10 lines
466 B
Handlebars
Raw Normal View History

2018-04-03 14:16:57 +00:00
<div class="box is-fullwidth is-sideless is-paddingless is-marginless">
{{#each model.attrsForKeyType as |attr|}}
{{#if (eq attr.type "object")}}
{{info-table-row label=(capitalize (or attr.options.label (humanize (dasherize attr.name)))) value=(stringify (get model attr.name))}}
{{else}}
{{info-table-row label=(capitalize (or attr.options.label (humanize (dasherize attr.name)))) value=(get model attr.name)}}
{{/if}}
{{/each}}
</div>