SHOW:
|
|
- or go back to the newest paste.
| 1 | - | public function createComponentBuyItemForm() |
| 1 | + | |
| 2 | {
| |
| 3 | - | $presenter = $this; |
| 3 | + | |
| 4 | - | return new \Nette\Application\UI\Multiplier(function($itemId) use ($presenter) {
|
| 4 | + | |
| 5 | - | $form = new Form(); |
| 5 | + | |
| 6 | dump($id, $quantity); exit; | |
| 7 | - | $form->addText('quantity')
|
| 7 | + |