diff options
Diffstat (limited to 'templates/profile.hbs')
-rw-r--r-- | templates/profile.hbs | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/templates/profile.hbs b/templates/profile.hbs index 240c443..c7e75e9 100644 --- a/templates/profile.hbs +++ b/templates/profile.hbs @@ -1,22 +1,24 @@ -{{#*inline "page"}} -{{#if user}} +{{#*inline "page"~}} +{{#if user~}} <p>Profile for {{ user }}</p> -{{/if}} +{{/if~}} +{{#with document ~}} <table> <thead> - {{#each headings}} + {{#each headings ~}} <th>{{ this }}</th> - {{/each}} + {{/each ~}} </thead> <tbody> - {{#each entries}} + {{#each rows ~}} <tr> - {{#each this}} + {{#each this ~}} <td>{{ this }}</td> - {{/each}} + {{/each ~}} </tr> - {{/each}} + {{/each ~}} </tbody> </table> -{{/inline}} +{{/with~}} +{{/inline~}} {{~> (parent)~}} |