en_btr_frontend/app/components/words/word-table.hbs

18 lines
394 B
Handlebars

<h4>Word Details</h4>
<table class="word-details" ...attributes>
<thead>
<th>ULB</th>
<th>Greek</th>
<th>Morphology</th>
</thead>
{{#each @model as |word|}}
{{#if word.isPhrase}}
{{#if word.isPhraseRoot}}
<Words::PhraseRow @model={{word}} @allWords={{@model}} />
{{/if}}
{{else}}
<Words::WordRow @model={{word}} />
{{/if}}
{{/each}}
</table>