Hide measurements on new strain

Fixes #65
This commit is contained in:
Matthew Dillon 2015-11-20 19:00:07 -07:00
parent edc95ecb3a
commit f93c4af029

View file

@ -53,6 +53,11 @@
</div> </div>
</div> </div>
</fieldset> </fieldset>
{{#if isNew}}
<div>
Please save before adding measurements
</div>
{{else}}
<div> <div>
{{ {{
protected/strains/measurements-table protected/strains/measurements-table
@ -65,6 +70,7 @@
canAdd=metaData.canAdd canAdd=metaData.canAdd
}} }}
</div> </div>
{{/if}}
<br> <br>
<a class="button-red smaller" {{action 'cancel'}}> <a class="button-red smaller" {{action 'cancel'}}>
Cancel Cancel