diff --git a/source/_patterns/02-components/table/table.hbs b/source/_patterns/02-components/table/table.hbs index 50663fd657..0ffb0fa046 100644 --- a/source/_patterns/02-components/table/table.hbs +++ b/source/_patterns/02-components/table/table.hbs @@ -16,22 +16,12 @@ - {{! TODO: Not elegant, but working for the moment… }} - {{#if rowtitle }} - {{#each cells }} - - table header - {{{ text01 }}} - {{{ text02 }}} - - {{/each }} - {{else}} - {{#each cells }} - - {{{ text01 }}} - {{{ text02 }}} - - {{/each }} - {{/if }} + {{#each cells }} + + {{#if ../rowtitle }}table header{{/if }} + {{{ text01 }}} + {{{ text02 }}} + + {{/each }}