|
1 | 1 | <?php |
2 | 2 | %A% |
3 | | - echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $this->global->formsStack[] = $this->global->uiControl["myForm"], ['id' => 'myForm', 'class'=>"ajax"]) /* line 1 */; |
| 3 | + $form = $this->global->formsStack[] = $this->global->uiControl["myForm"]; |
| 4 | + Nette\Bridges\FormsLatte\Runtime::initializeForm($form); |
| 5 | + echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form, ['id' => 'myForm', 'class'=>"ajax"]) /* line 1 */; |
4 | 6 | echo "\n"; |
5 | 7 | $iterations = 0; |
6 | 8 | foreach (['id', 'username', 'select', 'area', 'send'] as $name) /* line 2 */ { |
|
76 | 78 |
|
77 | 79 |
|
78 | 80 | '; |
79 | | - echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $this->global->formsStack[] = $this->global->uiControl["myForm"], []) /* line 27 */; |
| 81 | + $form = $this->global->formsStack[] = $this->global->uiControl["myForm"]; |
| 82 | + Nette\Bridges\FormsLatte\Runtime::initializeForm($form); |
| 83 | + echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form, []) /* line 27 */; |
80 | 84 | echo Nette\Bridges\FormsLatte\Runtime::renderFormEnd(array_pop($this->global->formsStack)); |
81 | 85 | echo ' |
82 | 86 |
|
83 | 87 | '; |
84 | | - echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $this->global->formsStack[] = $this->global->uiControl["myForm"], []) /* line 29 */; |
| 88 | + $form = $this->global->formsStack[] = $this->global->uiControl["myForm"]; |
| 89 | + Nette\Bridges\FormsLatte\Runtime::initializeForm($form); |
| 90 | + echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form, []) /* line 29 */; |
85 | 91 | echo "\n"; |
86 | 92 | $iterations = 0; |
87 | 93 | foreach ($form['sex']->items as $key => $label) /* line 31 */ { |
|
197 | 203 |
|
198 | 204 | '; |
199 | 205 | $form = $this->global->formsStack[] = $this->global->uiControl["myForm"] /* line 58 */; |
| 206 | + Nette\Bridges\FormsLatte\Runtime::initializeForm($form); |
200 | 207 | if (1) /* line 58 */ { |
201 | 208 | echo '<form id="myForm" class="ajax"'; |
202 | 209 | echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin(end($this->global->formsStack), ['id' => null, 'class' => null], false); |
|
214 | 221 |
|
215 | 222 | '; |
216 | 223 | $form = $this->global->formsStack[] = $this->global->uiControl["myForm"] /* line 63 */; |
| 224 | + Nette\Bridges\FormsLatte\Runtime::initializeForm($form); |
217 | 225 | echo '<form'; |
218 | 226 | echo ($ʟ_tmp = array_filter(['nclass'])) ? ' class="' . LR\Filters::escapeHtmlAttr(implode(" ", array_unique($ʟ_tmp))) . '"' : "" /* line 63 */; |
219 | 227 | echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin(end($this->global->formsStack), ['class' => null], false); |
|
230 | 238 |
|
231 | 239 | '; |
232 | 240 | $form = $this->global->formsStack[] = is_object($ʟ_tmp = $this->global->uiControl['myForm']) ? $ʟ_tmp : $this->global->uiControl[$ʟ_tmp] /* line 68 */; |
| 241 | + Nette\Bridges\FormsLatte\Runtime::initializeForm($form); |
233 | 242 | echo '<FORM'; |
234 | 243 | echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin(end($this->global->formsStack), [], false); |
235 | 244 | echo '> |
|
0 commit comments