HosipLan

Untitled

Jul 29th, 2011
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.70 KB | None | 0 0
  1. {var itemForm => $control['editInvoiceItemForm']}
  2.  
  3.     {control $itemForm begin}
  4.         <table class="table" cellspacing="0" cellpading="0">
  5.         <thead>
  6.             <tr><th>{_"Kód produktu"}</th><th>{_"Název produktu"}</th><th>{_"Počet"}</th><th>{_"Cena"}</th><th>{_"Barva"}</th><th>{_"Size"}</th><th>{_"Akce"}</th></tr>
  7.         </thead>
  8.  
  9.             {foreach $itemForm['items'] as $id => $item}
  10.             <tr>
  11.             {foreach $item->components as $input}<td>{$input->control}</td>{/foreach}
  12.                 <td><a href="{link deleteItem!, 'itemId' => $id}"><img src="{$baseUri}/adm/images/icons/delete.png" alt="smazat" /></a></td>
  13.             </tr>
  14.             {/foreach}
  15.  
  16.         </table>
  17.  
  18.         {$itemForm['send']->control}
  19.  
  20.     {control $itemForm end}
Advertisement
Add Comment
Please, Sign In to add comment