Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- foreach($wares as $ware):
- ...
- echo '<form action="' . url_for("cart/add") . '" method="POST">';
- echo 'Amount: ';
- echo '<input type="text" name="quantity"/>';
- echo '<input type="hidden" name="id" value="' .$ware->getId() .'"/>';
- echo '<input type="submit" />';
Add Comment
Please, Sign In to add comment