This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
hymenobacterdotinfo/app/pods/protected/characteristics/editable-row/template.hbs
2015-09-04 08:45:54 -07:00

15 lines
404 B
Handlebars

{{#if isEditing}}
<td>{{input value=characteristicName}}</td>
<td>{{input value=characteristicTypeName}}</td>
<td>{{input value=sortOrder}}</td>
<td {{action 'save'}}>Save</td>
{{else}}
<td>{{row.characteristicName}}</td>
<td>{{row.characteristicTypeName}}</td>
<td>{{row.sortOrder}}</td>
{{#if row.canEdit}}
<td {{action 'edit'}}>Edit</td>
{{else}}
<td></td>
{{/if}}
{{/if}}