diff --git a/app/pods/protected/strains/strain-form/template.hbs b/app/pods/protected/strains/strain-form/template.hbs index 9747a86..e44096f 100644 --- a/app/pods/protected/strains/strain-form/template.hbs +++ b/app/pods/protected/strains/strain-form/template.hbs @@ -53,18 +53,24 @@ -
- {{ - protected/strains/measurements-table - strain=strain - add-characteristic=(action "addCharacteristic") - allCharacteristics=allCharacteristics - save-measurement=(action "saveMeasurement") - delete-measurement=(action "deleteMeasurement") - canEdit=strain.canEdit - canAdd=metaData.canAdd - }} -
+ {{#if isNew}} +
+ Please save before adding measurements +
+ {{else}} +
+ {{ + protected/strains/measurements-table + strain=strain + add-characteristic=(action "addCharacteristic") + allCharacteristics=allCharacteristics + save-measurement=(action "saveMeasurement") + delete-measurement=(action "deleteMeasurement") + canEdit=strain.canEdit + canAdd=metaData.canAdd + }} +
+ {{/if}}
Cancel