<div class="panel-group panel-group-lists">
      {foreach $body.products_related_dynamic as $item}
         <div class="panel autocomplete-results" style="background-color: #f0f1f2">
            <div class="panel-body">
               <div class="col-md-1">
               </div>
               <div class="col-md-2">
                  <img src="{$item.image.src}" alt="{$item.image.descr}">
               </div>
               <div class="col-md-9">
                  <p class="product-title">
                     <a href="javascript:nw('product', '{$item.id_rel_product}')">{$item.title}</a><br>
                     <small>Kód: {$item.code} | Skladem: {$item.in_store} ks</small>
                     <br>
                     {foreach $item.types as $type}
                     Automaticky přiřazeno:
                     <a href="javascript:nw('productsRelatedTypes', '{$type.id}')">{$type.name}</a>
                     {/foreach}
                  </p>
               </div>
               <div class="col-md-1">
               </div>
            </div>
         </div>
      {/foreach}
</div>
