19 lines
519 B
Handlebars
19 lines
519 B
Handlebars
|
{{#each-in attributes as |key value|}}
|
||
|
{{#if (is-object value)}}
|
||
|
<tr>
|
||
|
<td class="is-subheading" colspan="2">
|
||
|
{{#if prefix}}<span class="is-faded">{{prefix}}.</span>{{/if}}{{key}}
|
||
|
</td>
|
||
|
</tr>
|
||
|
{{attributes-section prefix=(if prefix (concat prefix '.' key) key) attributes=value}}
|
||
|
{{else}}
|
||
|
<tr>
|
||
|
<td>
|
||
|
{{#if prefix}}<span class="is-faded">{{prefix}}.</span>{{/if}}
|
||
|
{{~key}}
|
||
|
</td>
|
||
|
<td title="{{value}}">{{value}}</td>
|
||
|
</tr>
|
||
|
{{/if}}
|
||
|
{{/each-in}}
|