app/views/promethee/components/column/_edit.move.html.erb in promethee-1.3.1 vs app/views/promethee/components/column/_edit.move.html.erb in promethee-1.3.2
- old
+ new
@@ -1,23 +1,21 @@
<script type="text/ng-template" id="promethee/components/column/edit/move">
<div ng-click="inspect(component, $event)"
ng-class="{'promethee-edit__component--selected': promethee.inspected === component}"
- class=" promethee-edit__component
- promethee-edit__component--column
+ class=" <%= promethee_bem_classes 'promethee-edit__component', "--column" %>
col
col-md-{{component.attributes.size}}
col-md-offset-{{component.attributes.offset}}">
<div class="promethee-edit__component__inner">
<%= render 'promethee/edit/move.close' %>
<div class="header">Column</div>
<ng-include src="'promethee/move/components'"></ng-include>
<div
- class=" promethee-edit__move__droppable
- promethee-edit__move__droppable--row
- promethee-edit__move__droppable--row--inside-column"
droppable
+ class=" <%= promethee_bem_classes 'promethee-edit__move__droppable', '--row', '--inside-column' %>"
data-index="{{$index+1}}"
- data-type="{{type}}"
+ data-id="{{parent_id}}"
+ data-type="{{parent_type}}"
>
</div>
</div>
</div>
</div>