Rough in detail view for characteristics
This commit is contained in:
parent
f59de829ee
commit
ceccf6e536
9 changed files with 77 additions and 7 deletions
25
app/pods/protected/characteristics/index/template.hbs
Normal file
25
app/pods/protected/characteristics/index/template.hbs
Normal file
|
@ -0,0 +1,25 @@
|
|||
<h2>{{genus-name}} Characteristics</h2>
|
||||
<h3>Total characteristics: {{model.length}}</h3>
|
||||
|
||||
<table class="flakes-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Type</th>
|
||||
<th>Sort Order</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{#each sortedCharacteristics as |row|}}
|
||||
<tr>
|
||||
<td>
|
||||
{{#link-to 'protected.characteristics.show' row}}
|
||||
{{row.characteristicName}}
|
||||
{{/link-to}}
|
||||
</td>
|
||||
<td>{{row.characteristicTypeName}}</td>
|
||||
<td>{{row.sortOrder}}</td>
|
||||
</tr>
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
Reference in a new issue