Skip to content

Commit

Permalink
Make options index start from 1
Browse files Browse the repository at this point in the history
  • Loading branch information
evilaliv3 committed May 28, 2019
1 parent 32d650a commit 9ab0836
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/views/admin/questionnaires/fields.html
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@
<div class="fieldOption" data-ng-repeat="option in field.options">
<div class="row">
<div class="col-md-1">
<div class="badge badge-default">{{$index}}</div>
<div class="badge badge-default">{{$index + 1}}</div>
</div>
<div class="col-md-6">
<input class="form-control" data-ng-model="option.label" data-ng-attr-placeholder="{{'Label' | translate }}" type="text" data-ng-disabled="!field.editable" required />
Expand Down

0 comments on commit 9ab0836

Please sign in to comment.