<div id="flapFulltextPreferences" class="tab-pane fade in boxFlex">
   <h1 class="h4 main-panel-title">{'flapFulltextPreferences'|translate:'fulltextPreferencesTab'}</h1>

   <div class="row">
      <div class="form-group">
         <div class="col-md-2 control-label">
            <label>{'productsPreferences'|translate:'fulltextPreferencesTab'}</label>
         </div>
         <div class="col-md-8">
            <select name="{$tab.prefix}[preload][products][]" multiple="multiple" class="selecter selecter-sortable" data-autocomplete="products" data-preload="products" id="products">
               {foreach $tab.data.config.preload.products as $id}
                  <option value="{$id}" selected>{$id}</option>
               {/foreach}
            </select>
         </div>
      </div>
   </div>

   <div class="row">
      <div class="form-group">
         <div class="col-md-2 control-label">
            <label>{'sectionsPreferences'|translate:'fulltextPreferencesTab'}</label>
         </div>
         <div class="col-md-8">
            <select name="{$tab.prefix}[preload][sections][]" multiple="multiple" class="selecter selecter-sortable" data-autocomplete="categories" data-preload="sections" id="sections">
               {foreach $tab.data.config.preload.sections as $id}
                  <option value="{$id}" selected>{$id}</option>
               {/foreach}
            </select>
         </div>
      </div>
   </div>

   {ifmodule PRODUCERS}
      <div class="row">
         <div class="form-group">
            <div class="col-md-2 control-label">
               <label>{'producersPreferences'|translate:'fulltextPreferencesTab'}</label>
            </div>
            <div class="col-md-8">
               <select name="{$tab.prefix}[preload][producers][]" multiple="multiple" class="selecter selecter-sortable" data-autocomplete="producers" data-preload="producers" id="producers">
                  {foreach $tab.data.config.preload.producers as $id}
                     <option value="{$id}" selected>{$id}</option>
                  {/foreach}
               </select>
            </div>
         </div>
      </div>
   {/ifmodule}
</div>
