app/views/promethee/components/slider/_localize.html.erb in promethee-1.5.2 vs app/views/promethee/components/slider/_localize.html.erb in promethee-1.5.3
- old
+ new
@@ -1,7 +1,7 @@
<script type="text/ng-template" id="promethee/components/slider/localize">
- <div ng-show="(component.master.contents | json) !== '{}'">
+ <div ng-show="(component.master.attributes.contents | json) !== '{}'">
<hr>
<div ng-repeat="(key, content) in component.master.attributes.contents">
<div class="row">
<div class="col-md-6">
@@ -10,7 +10,7 @@
<div class="col-md-6">
<summernote config="summernoteConfig" ng-model="component.attributes.contents[key]"></summernote>
</div>
</div>
</div>
- </script>
+ </div>
</script>