app/views/promethee/components/slider/_localize.html.erb in promethee-1.6.8 vs app/views/promethee/components/slider/_localize.html.erb in promethee-1.6.10
- old
+ new
@@ -3,14 +3,14 @@
<hr>
<div ng-repeat="(key, content) in component.master.attributes.contents">
<div class="row">
<div class="col-md-6">
- <b>Item {{key + 1}} Text</b>
+ <b>Item {{$index + 1}} Text</b>
<div class="promethee-edit__wrapper" ng-bind-html="component.master.attributes.contents[key] | htmlSafe"></div>
</div>
<div class="col-md-6">
- <label class="label-control">Item {{key + 1}} Text</label>
+ <label class="label-control">Item {{$index + 1}} Text</label>
<summernote config="summernoteConfig" ng-model="component.attributes.contents[key]"></summernote>
</div>
</div>
</div>
</div>