parent
edc95ecb3a
commit
f93c4af029
1 changed files with 18 additions and 12 deletions
|
@ -53,18 +53,24 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<div>
|
{{#if isNew}}
|
||||||
{{
|
<div>
|
||||||
protected/strains/measurements-table
|
Please save before adding measurements
|
||||||
strain=strain
|
</div>
|
||||||
add-characteristic=(action "addCharacteristic")
|
{{else}}
|
||||||
allCharacteristics=allCharacteristics
|
<div>
|
||||||
save-measurement=(action "saveMeasurement")
|
{{
|
||||||
delete-measurement=(action "deleteMeasurement")
|
protected/strains/measurements-table
|
||||||
canEdit=strain.canEdit
|
strain=strain
|
||||||
canAdd=metaData.canAdd
|
add-characteristic=(action "addCharacteristic")
|
||||||
}}
|
allCharacteristics=allCharacteristics
|
||||||
</div>
|
save-measurement=(action "saveMeasurement")
|
||||||
|
delete-measurement=(action "deleteMeasurement")
|
||||||
|
canEdit=strain.canEdit
|
||||||
|
canAdd=metaData.canAdd
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
{{/if}}
|
||||||
<br>
|
<br>
|
||||||
<a class="button-red smaller" {{action 'cancel'}}>
|
<a class="button-red smaller" {{action 'cancel'}}>
|
||||||
Cancel
|
Cancel
|
||||||
|
|
Reference in a new issue