Create and edit characteristics

This commit is contained in:
Matthew Dillon 2015-09-08 10:37:48 -07:00
parent fb296340c3
commit de8ac653f6
14 changed files with 180 additions and 1 deletions

View file

@ -0,0 +1,30 @@
<form class="grid-form" {{action 'save' on='submit'}}>
<fieldset>
<legend><em>{{characteristic.characteristicName}}</em></legend>
<div data-row-span="1">
<div data-field-span="1">
<label>Characteristic Name</label>
{{input value=characteristic.characteristicName}}
</div>
</div>
<div data-row-span="2">
<div data-field-span="1">
<label>Characteristic Type</label>
{{input value=characteristic.characteristicTypeName}}
</div>
<div data-field-span="1">
<label>Sort Order</label>
{{input value=characteristic.sortOrder}}
</div>
</div>
</fieldset>
<br>
<a class="button-red smaller" {{action 'cancel'}}>
Cancel
</a>
{{#if characteristic.hasDirtyAttributes}}
<button type="submit" class="button-green smaller">
Save
</button>
{{/if}}
</form>