app/views/promethee/localize/component/_image.html.erb in promethee-1.0.18 vs app/views/promethee/localize/component/_image.html.erb in promethee-1.0.19
- old
+ new
@@ -1,3 +1,13 @@
<script type="text/ng-template" id="promethee/localize/component/image">
-
+ <div class="row">
+ <div class="col-md-6">
+ <input ng-model="component.attributes.alt" type="text" class="form-control">
+ <summernote config="options" ng-model="component.attributes.caption"></summernote>
+ </div>
+ <div class="col-md-6">
+ <b>Master</b>
+ <input ng-model="component.master.attributes.alt" type="text" class="form-control" disabled/>
+ <div class="promethee-editor__wrapper" ng-bind-html="component.master.attributes.caption | htmlSafe"></div>
+ </div>
+ </div>
</script>