{extends_parent}

{block 'sections-own-fields'}
   {if !$body.sections[0]} {* produkt v menu u root sekce *}
      <div class="row">
         <div class="col-xs-6">
            <div class="form-group">
               <label>Produkt v menu</label>
               <select name="data[data][products][]" multiple='multiple' class="selecter" data-type="ProductId" data-preload="products"
                       data-autocomplete="products">
                  {foreach $body.data.data.products as $product}
                     <option value="{$product}" selected>{$product}</option>
                  {/foreach}
               </select>
            </div>
         </div>
      </div>
   {/if}
{/block}
