more cleanup

This commit is contained in:
Matthew Dillon 2015-07-10 12:14:05 -08:00
parent 6bc5ddfeb0
commit 33b6fe32b3
4 changed files with 5 additions and 5 deletions

View file

@ -20,7 +20,7 @@
{{{strain.strainNameMU}}}
{{/link-to}}
{{/each}}
{{add-button label="Add Strain" link="strains.new"}}
{{add-button label="Add Strain" link="protected.strains.new"}}
</div>
</div>
<div data-row-span="2">
@ -35,7 +35,7 @@
<a class="button-red smaller" {{action 'cancel'}}>
Cancel
</a>
{{#if species.isDirty}}
{{#if species.hasDirtyAttributes}}
<a class="button-green smaller" {{action 'save'}}>
Save
</a>

View file

@ -54,7 +54,7 @@
<a class="button-red smaller" {{action 'cancel'}}>
Cancel
</a>
{{#if strain.isDirty}}
{{#if strain.hasDirtyAttributes}}
<a class="button-green smaller" {{action 'save'}}>
Save
</a>