HosipLan

Untitled

Aug 22nd, 2011
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.28 KB | None | 0 0
  1. $form->addDynamic('terminy', function ($container) {
  2.     $container->addChecbox('isOk', 'Vyhovuje');
  3. });
  4.  
  5.  
  6. # šablona
  7.  
  8. <tr n:foreach="$terminy as $id => $termin">
  9.     <td>
  10.         Termín {$termin->date} mi
  11.         {$form['terminy'][$id]->label}
  12.         {$form['terminy'][$id]->control}
  13.     </td>
  14. </tr>
Advertisement
Add Comment
Please, Sign In to add comment