mardi 3 janvier 2017

EmberJS template : loop of items without default ember view

I have a loop to display a list of components service-item which has template:

    <div id= class="col-md-2 service-item">
    <a href="#">
        <img class="img-responsive" src= alt="">
        <div class="name">
            
        </div>
    </a>
</div>



and the loop is:

  <div id="service" class="row">
    
      
    
  </div>

The problem is that the html i have for each items are wrapped by:

<div id="ember381" class="ember-view col-sm-6 col-md-4">

which i don't want. I want to have col-md-2 instead. How can I remove that wrapper?




Aucun commentaire:

Enregistrer un commentaire