Roughing in ember-can: placeholders for strain mod

This commit is contained in:
Matthew Dillon 2015-04-22 11:44:25 -08:00
parent b337ca0ee4
commit ce40ef6071
7 changed files with 53 additions and 0 deletions

View file

@ -1,6 +1,11 @@
<h2>{{genus-name}} Strains</h2>
<h3>Total strains: {{controller.length}}</h3>
{{#if (can "add strain")}}
{{! Does nothing ATM }}
<a class="button-gray smaller">Add Strain</a>
{{/if}}
<table class="flakes-table">
<thead>
<tr>

View file

@ -51,9 +51,19 @@
</dl>
<dl class="span-1"></dl>
</div>
{{#if (can "edit strain" model)}}
{{! ROW 5 }}
<div class="grid-4">
<div class="span-1">
{{! Does nothing ATM }}
<a class="button-gray smaller">Edit Strain</a>
</div>
</div>
{{/if}}
</fieldset>
</div>
</div>
<div class="measurements-container">
{{outlet}}
</div>