|
1 | 1 | <?php |
2 | 2 | %A% |
3 | | - $form = $this->global->formsStack[] = $this->global->uiControl['myForm'] /* %a% */; |
| 3 | + $form = $this->global->formsStack[] = $this->global->uiControl['myForm'] /* pos %d%:1 */; |
4 | 4 | Nette\Bridges\FormsLatte\Runtime::initializeForm($form); |
5 | | - echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form, []) /* %a% */; |
| 5 | + echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form, []) /* pos %d%:1 */; |
6 | 6 | echo ' |
7 | 7 | <table> |
8 | 8 | <tr> |
9 | 9 | <th>'; |
10 | | - echo ($ʟ_label = Nette\Bridges\FormsLatte\Runtime::item('input1', $this->global)->getLabel()) /* %a% */; |
| 10 | + echo ($ʟ_label = Nette\Bridges\FormsLatte\Runtime::item('input1', $this->global)->getLabel()) /* pos %d%:7 */; |
11 | 11 | echo '</th> |
12 | 12 | <td>'; |
13 | | - echo Nette\Bridges\FormsLatte\Runtime::item('input1', $this->global)->getControl() /* %a% */; |
| 13 | + echo Nette\Bridges\FormsLatte\Runtime::item('input1', $this->global)->getControl() /* pos %d%:7 */; |
14 | 14 | echo '</td> |
15 | 15 | </tr> |
16 | 16 | '; |
17 | | - $this->global->formsStack[] = $formContainer = Nette\Bridges\FormsLatte\Runtime::item('cont1', $this->global) /* %a% */; |
| 17 | + $this->global->formsStack[] = $formContainer = Nette\Bridges\FormsLatte\Runtime::item('cont1', $this->global) /* pos %d%:2 */; |
18 | 18 | echo ' <tr> |
19 | 19 | <th>'; |
20 | | - echo ($ʟ_label = Nette\Bridges\FormsLatte\Runtime::item('input2', $this->global)->getLabel()) /* %a% */; |
| 20 | + echo ($ʟ_label = Nette\Bridges\FormsLatte\Runtime::item('input2', $this->global)->getLabel()) /* pos %d%:7 */; |
21 | 21 | echo '</th> |
22 | 22 | <td>'; |
23 | | - echo Nette\Bridges\FormsLatte\Runtime::item('input2', $this->global)->getControl() /* %a% */; |
| 23 | + echo Nette\Bridges\FormsLatte\Runtime::item('input2', $this->global)->getControl() /* pos %d%:7 */; |
24 | 24 | echo '</td> |
25 | 25 | </tr> |
26 | 26 | <tr> |
27 | 27 | <th>'; |
28 | | - echo ($ʟ_label = Nette\Bridges\FormsLatte\Runtime::item('input3', $this->global)->getLabel()) /* %a% */; |
| 28 | + echo ($ʟ_label = Nette\Bridges\FormsLatte\Runtime::item('input3', $this->global)->getLabel()) /* pos %d%:7 */; |
29 | 29 | echo '</th> |
30 | 30 | <td>'; |
31 | | - echo Nette\Bridges\FormsLatte\Runtime::item('input3', $this->global)->getControl() /* %a% */; |
| 31 | + echo Nette\Bridges\FormsLatte\Runtime::item('input3', $this->global)->getControl() /* pos %d%:7 */; |
32 | 32 | echo '</td> |
33 | 33 | </tr> |
34 | 34 | <tr> |
35 | 35 | <th>Checkboxes</th> |
36 | 36 | <td> |
37 | 37 | '; |
38 | | - $this->global->formsStack[] = $formContainer = Nette\Bridges\FormsLatte\Runtime::item('cont2', $this->global) /* %a% */; |
| 38 | + $this->global->formsStack[] = $formContainer = Nette\Bridges\FormsLatte\Runtime::item('cont2', $this->global) /* pos %d%:8 */; |
39 | 39 | echo ' <ol> |
40 | 40 | '; |
41 | | - foreach ($formContainer->controls as $name => $field) /* %a% */ { |
| 41 | + foreach ($formContainer->controls as $name => $field) /* pos %d%:32 */ { |
42 | 42 | echo ' <li>'; |
43 | | - echo Nette\Bridges\FormsLatte\Runtime::item($field, $this->global)->getControl() /* %a% */; |
| 43 | + echo Nette\Bridges\FormsLatte\Runtime::item($field, $this->global)->getControl() /* pos %d%:9 */; |
44 | 44 | echo '</li> |
45 | 45 | '; |
46 | 46 |
|
|
55 | 55 | </tr> |
56 | 56 | <tr> |
57 | 57 | <th>'; |
58 | | - echo ($ʟ_label = Nette\Bridges\FormsLatte\Runtime::item('input7', $this->global)->getLabel()) /* %a% */; |
| 58 | + echo ($ʟ_label = Nette\Bridges\FormsLatte\Runtime::item('input7', $this->global)->getLabel()) /* pos %d%:7 */; |
59 | 59 | echo '</th> |
60 | 60 | <td>'; |
61 | | - echo Nette\Bridges\FormsLatte\Runtime::item('input7', $this->global)->getControl() /* %a% */; |
| 61 | + echo Nette\Bridges\FormsLatte\Runtime::item('input7', $this->global)->getControl() /* pos %d%:7 */; |
62 | 62 | echo '</td> |
63 | 63 | </tr> |
64 | 64 | '; |
65 | 65 | array_pop($this->global->formsStack); |
66 | 66 | $formContainer = end($this->global->formsStack); |
67 | 67 |
|
68 | | - $this->global->formsStack[] = $formContainer = Nette\Bridges\FormsLatte\Runtime::item('items', $this->global) /* %a% */; |
| 68 | + $this->global->formsStack[] = $formContainer = Nette\Bridges\FormsLatte\Runtime::item('items', $this->global) /* pos %d%:2 */; |
69 | 69 | echo ' <tr> |
70 | 70 | <th>Items</th> |
71 | 71 | <td> |
72 | 72 | '; |
73 | | - $items = [1, 2, 3] /* %a% */; |
74 | | - foreach ($items as $item) /* %a% */ { |
75 | | - if (!isset($formContainer[$item])) /* %a% */ continue; |
76 | | - $this->global->formsStack[] = $formContainer = Nette\Bridges\FormsLatte\Runtime::item($item, $this->global) /* %a% */; |
| 73 | + $items = [1, 2, 3] /* pos %d%:3 */; |
| 74 | + foreach ($items as $item) /* pos %d%:3 */ { |
| 75 | + if (!isset($formContainer[$item])) /* pos %d%:4 */ continue; |
| 76 | + $this->global->formsStack[] = $formContainer = Nette\Bridges\FormsLatte\Runtime::item($item, $this->global) /* pos %d%:4 */; |
77 | 77 | echo ' '; |
78 | | - echo Nette\Bridges\FormsLatte\Runtime::item('input', $this->global)->getControl() /* %a% */; |
| 78 | + echo Nette\Bridges\FormsLatte\Runtime::item('input', $this->global)->getControl() /* pos %d%:5 */; |
79 | 79 | echo "\n"; |
80 | 80 | array_pop($this->global->formsStack); |
81 | 81 | $formContainer = end($this->global->formsStack); |
|
91 | 91 |
|
92 | 92 | echo ' <tr> |
93 | 93 | <th>'; |
94 | | - echo ($ʟ_label = Nette\Bridges\FormsLatte\Runtime::item('input8', $this->global)->getLabel()) /* %a% */; |
| 94 | + echo ($ʟ_label = Nette\Bridges\FormsLatte\Runtime::item('input8', $this->global)->getLabel()) /* pos %d%:7 */; |
95 | 95 | echo '</th> |
96 | 96 | <td>'; |
97 | | - echo Nette\Bridges\FormsLatte\Runtime::item('input8', $this->global)->getControl() /* %a% */; |
| 97 | + echo Nette\Bridges\FormsLatte\Runtime::item('input8', $this->global)->getControl() /* pos %d%:7 */; |
98 | 98 | echo '</td> |
99 | 99 | </tr> |
100 | 100 | </table> |
101 | 101 | '; |
102 | | - echo Nette\Bridges\FormsLatte\Runtime::renderFormEnd(array_pop($this->global->formsStack)) /* %a% */; |
| 102 | + echo Nette\Bridges\FormsLatte\Runtime::renderFormEnd(array_pop($this->global->formsStack)) /* pos %d%:1 */; |
103 | 103 | %A% |
0 commit comments