Rough in detail view for characteristics

This commit is contained in:
Matthew Dillon 2015-09-04 10:47:32 -07:00
parent f59de829ee
commit ceccf6e536
9 changed files with 77 additions and 7 deletions

View 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>