summaryrefslogtreecommitdiff
path: root/templates/profile.hbs
blob: c7e75e90abfbe89025bdac006da3d12652fedc43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{{#*inline "page"~}}
{{#if user~}}
    <p>Profile for {{ user }}</p>
{{/if~}}
{{#with document ~}}
<table>
    <thead>
        {{#each headings ~}}
            <th>{{ this }}</th>
        {{/each ~}}
    </thead>
    <tbody>
        {{#each rows ~}}
            <tr>
            {{#each this ~}}
                <td>{{ this }}</td>
            {{/each ~}}
            </tr>
        {{/each ~}}
    </tbody>
</table>
{{/with~}}
{{/inline~}}
{{~> (parent)~}}