lespoupeesrusses/promethee

View on GitHub
app/views/promethee/edit/_move_header.html.erb

Summary

Maintainability
Test Coverage
<%# This causes an infinite loop when imported as angular, so i import it as erb %>
<div  ng-click="inspect(component, $event)"
      ng-class="{'promethee-edit__component--selected': promethee.inspected === component}"
      class="<%= promethee_bem_classes 'promethee-edit__component', "--#{type}" %>">
  <div class="promethee-edit__component__inner">
    <%= render 'promethee/edit/move_remove' %>