Skip to content

Commit

Permalink
Sort postag values in morphFormCreate
Browse files Browse the repository at this point in the history
  • Loading branch information
LFDM committed May 23, 2014
1 parent c48882e commit 55d036a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/templates/morph_form_create.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ form.postag }}
<div class="row" ng-repeat="(attr, val) in form.attributes">
<div class="row" ng-repeat="attr in plugin.postagSchema">
<div class="small-3 columns">
<label class="right">{{ plugin.longAttributeName(attr) }}</label>
</div>
Expand All @@ -9,7 +9,7 @@
ng-model="form.attributes[attr]"
ng-init="opt.short"
ng-options="name as opt.long for (name, opt) in plugin.attributeValues(attr)"
synchronize-postag="{form: 'form', attr: 'attr', val: 'val'}">
synchronize-postag="{form: 'form', attr: 'attr', val: 'form.attributes[attr]'}">
</select>
</div>
</div>

0 comments on commit 55d036a

Please sign in to comment.