{extends "../menu.tpl"}

{block name="menu-items"}
   <li class="nav-header"><i class="glyphicon glyphicon-tasks"></i><span>{translate_type type=$type}</span></li>
   <li><a href="javascript:nf('', 'launch.php?s=list.php&amp;type=pricelevels');"><i class="glyphicon glyphicon-list"></i> <span>Seznam cenových hladin</span></a></li>
   <li><a href="javascript:nw('pricelevel', '0');"><i class="glyphicon glyphicon-plus"></i> <span>Přidat cenovou hladinu</span></a></li>
   <li class="nav-header smaller">
      <i class="glyphicon glyphicon-search"></i><span>{"search"|translate:"filter"}</span>
   </li>
   <li class="pill-content">
      <ul class="nav-sub nav-pills">
         <form id='search' target="mainFrame" method="get" action="launch.php" class="form-inline">
            <div class="form-group">
               <div class="input-group">
                  <input type="text" class="form-control input-sm" name="name" value="" placeholder="{'by_title'|translate:"filter"}"/>
                  <input type="hidden" name="type" value="pricelevels" /><input type="hidden" name="s" value="list.php"/>
                  <span class="input-group-btn">
                  <button type="submit" border="0" class="btn btn-primary btn-sm" title="Vyhledat"><i class="glyphicon glyphicon-search"></i></button>
               </span>
               </div>
            </div>
         </form>
      </ul>
   </li>
{/block}
