Dropping ember-can

This commit is contained in:
Matthew Dillon 2015-06-05 09:36:51 -08:00
parent 3501dc1986
commit 53be80d617
13 changed files with 57 additions and 75 deletions

View file

@ -1,11 +1,6 @@
<h2>{{genus-name}} Strains</h2>
<h3>Total strains: {{model.length}}</h3>
{{#if (can "add strain")}}
{{! Does nothing ATM }}
{{#link-to 'strains.new' class="button-gray smaller"}}
Add Strain
{{/link-to}}
{{/if}}
{{add-button label="Add Strain" link="strains.new"}}
{{sortable-table content=model tableAttrs=tableAttrs row=row}}