|
36 | 36 | echo ' |
37 | 37 |
|
38 | 38 | <LABEL'; |
39 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global))->getLabelPart()->addAttributes(['title' => null])->attributes() /* line %d% */; |
| 39 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global)->getLabelPart())->addAttributes(['title' => null])->attributes() /* line %d% */; |
40 | 40 | echo ' title=hello>Name</LABEL> |
41 | 41 | <input value=val type class="hello"'; |
42 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global))->getControlPart()->addAttributes(['value' => null, 'type' => null, 'class' => null])->attributes() /* line %d% */; |
| 42 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global)->getControlPart())->addAttributes(['value' => null, 'type' => null, 'class' => null])->attributes() /* line %d% */; |
43 | 43 | echo '> |
44 | 44 |
|
45 | 45 | <label'; |
46 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item($form['username'], $this->global))->getLabelPart()->attributes() /* line %d% */; |
| 46 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item($form['username'], $this->global)->getLabelPart())->attributes() /* line %d% */; |
47 | 47 | echo '></label> |
48 | 48 | <label'; |
49 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item($form['username'], $this->global))->getLabelPart()->attributes() /* line %d% */; |
| 49 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item($form['username'], $this->global)->getLabelPart())->attributes() /* line %d% */; |
50 | 50 | echo '>'; |
51 | | - echo $ʟ_input->getLabelPart()->getHtml() /* line %d% */; |
| 51 | + echo $ʟ_elem->getHtml() /* line %d% */; |
52 | 52 | echo '</label> |
53 | 53 | <input'; |
54 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item($form['username'], $this->global))->getControlPart()->attributes() /* line %d% */; |
| 54 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item($form['username'], $this->global)->getControlPart())->attributes() /* line %d% */; |
55 | 55 | echo '> |
56 | 56 |
|
57 | 57 | '; |
|
86 | 86 | echo $ʟ_label?->endTag() /* line %d% */; |
87 | 87 | echo ' |
88 | 88 | <label'; |
89 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global))->getLabelPart($key)->addAttributes(['title' => null])->attributes() /* line %d% */; |
| 89 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global)->getLabelPart($key))->addAttributes(['title' => null])->attributes() /* line %d% */; |
90 | 90 | echo ' title=hello> <input'; |
91 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global))->getControlPart($key)->attributes() /* line %d% */; |
| 91 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global)->getControlPart($key))->attributes() /* line %d% */; |
92 | 92 | echo '> </label> |
| 93 | + <label'; |
| 94 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global)->getLabelPart($key))->addAttributes(['title' => null])->attributes() /* line %d% */; |
| 95 | + echo ' title=hello>'; |
| 96 | + echo $ʟ_elem->getHtml() /* line %d% */; |
| 97 | + echo '</label> |
93 | 98 | '; |
94 | 99 |
|
95 | 100 | } |
96 | 101 |
|
97 | 102 | echo '<label'; |
98 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global))->getLabelPart()->attributes() /* line %d% */; |
| 103 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global)->getLabelPart())->attributes() /* line %d% */; |
99 | 104 | echo '></label> |
100 | 105 | <label'; |
101 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global))->getLabelPart()->attributes() /* line %d% */; |
| 106 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global)->getLabelPart())->attributes() /* line %d% */; |
102 | 107 | echo '>'; |
103 | | - echo $ʟ_input->getLabelPart()->getHtml() /* line %d% */; |
| 108 | + echo $ʟ_elem->getHtml() /* line %d% */; |
104 | 109 | echo '</label> |
105 | 110 | <label'; |
106 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global))->getLabelPart()->addAttributes(['title' => null])->attributes() /* line %d% */; |
| 111 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global)->getLabelPart())->addAttributes(['title' => null])->attributes() /* line %d% */; |
107 | 112 | echo ' title="hello">'; |
108 | | - echo $ʟ_input->getLabelPart()->getHtml() /* line %d% */; |
| 113 | + echo $ʟ_elem->getHtml() /* line %d% */; |
109 | 114 | echo '</label> |
110 | 115 | <input'; |
111 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item($form['sex'], $this->global))->getControlPart("{$key}")->attributes() /* line %d% */; |
| 116 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item($form['sex'], $this->global)->getControlPart("{$key}"))->attributes() /* line %d% */; |
112 | 117 | echo '> |
113 | 118 |
|
114 | 119 |
|
|
120 | 125 | echo $ʟ_label?->endTag() /* line %d% */; |
121 | 126 | echo ' |
122 | 127 | <label'; |
123 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global))->getLabelPart('')->addAttributes(['title' => null])->attributes() /* line %d% */; |
| 128 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global)->getLabelPart(''))->addAttributes(['title' => null])->attributes() /* line %d% */; |
124 | 129 | echo ' title=hello> <input'; |
125 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global))->getControlPart('')->attributes() /* line %d% */; |
| 130 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global)->getControlPart(''))->attributes() /* line %d% */; |
126 | 131 | echo '> </label> |
127 | 132 | <label'; |
128 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global))->getLabelPart()->addAttributes(['title' => null])->attributes() /* line %d% */; |
| 133 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global)->getLabelPart())->addAttributes(['title' => null])->attributes() /* line %d% */; |
129 | 134 | echo ' title=hello> <input'; |
130 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global))->getControlPart()->attributes() /* line %d% */; |
| 135 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global)->getControlPart())->attributes() /* line %d% */; |
131 | 136 | echo '> </label> |
132 | 137 | <label'; |
133 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global))->getLabelPart('')->attributes() /* line %d% */; |
| 138 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global)->getLabelPart(''))->attributes() /* line %d% */; |
134 | 139 | echo '>'; |
135 | | - echo $ʟ_input->getLabelPart()->getHtml() /* line %d% */; |
| 140 | + echo $ʟ_elem->getHtml() /* line %d% */; |
136 | 141 | echo '</label> |
137 | 142 | <label'; |
138 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global))->getLabelPart()->addAttributes(['title' => null])->attributes() /* line %d% */; |
| 143 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checkbox', $this->global)->getLabelPart())->addAttributes(['title' => null])->attributes() /* line %d% */; |
139 | 144 | echo ' title=hello>'; |
140 | | - echo $ʟ_input->getLabelPart()->getHtml() /* line %d% */; |
| 145 | + echo $ʟ_elem->getHtml() /* line %d% */; |
141 | 146 | echo '</label> |
142 | 147 |
|
143 | 148 |
|
|
152 | 157 | echo $ʟ_label?->endTag() /* line %d% */; |
153 | 158 | echo ' |
154 | 159 | <label'; |
155 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('checklist', $this->global))->getLabelPart($key)->attributes() /* line %d% */; |
| 160 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checklist', $this->global)->getLabelPart($key))->attributes() /* line %d% */; |
156 | 161 | echo '> <input'; |
157 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('checklist', $this->global))->getControlPart($key)->addAttributes(['title' => null])->attributes() /* line %d% */; |
| 162 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checklist', $this->global)->getControlPart($key))->addAttributes(['title' => null])->attributes() /* line %d% */; |
158 | 163 | echo ' title=hello> </label> |
| 164 | + <label'; |
| 165 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checklist', $this->global)->getLabelPart($key))->attributes() /* line %d% */; |
| 166 | + echo '>'; |
| 167 | + echo $ʟ_elem->getHtml() /* line %d% */; |
| 168 | + echo '</label> |
159 | 169 | '; |
160 | 170 |
|
161 | 171 | } |
162 | 172 |
|
163 | 173 | echo '<label'; |
164 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('checklist', $this->global))->getLabelPart()->attributes() /* line %d% */; |
| 174 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checklist', $this->global)->getLabelPart())->attributes() /* line %d% */; |
165 | 175 | echo '></label> |
166 | 176 | <label'; |
167 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('checklist', $this->global))->getLabelPart()->attributes() /* line %d% */; |
| 177 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checklist', $this->global)->getLabelPart())->attributes() /* line %d% */; |
168 | 178 | echo '>'; |
169 | | - echo $ʟ_input->getLabelPart()->getHtml() /* line %d% */; |
| 179 | + echo $ʟ_elem->getHtml() /* line %d% */; |
170 | 180 | echo '</label> |
171 | 181 | <label'; |
172 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('checklist', $this->global))->getLabelPart()->addAttributes(['title' => null])->attributes() /* line %d% */; |
| 182 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('checklist', $this->global)->getLabelPart())->addAttributes(['title' => null])->attributes() /* line %d% */; |
173 | 183 | echo ' title="hello">'; |
174 | | - echo $ʟ_input->getLabelPart()->getHtml() /* line %d% */; |
| 184 | + echo $ʟ_elem->getHtml() /* line %d% */; |
175 | 185 | echo '</label> |
176 | 186 |
|
177 | 187 |
|
|
183 | 193 | echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin(end($this->global->formsStack), ['id' => null, 'class' => null], false) /* line %d% */; |
184 | 194 | echo ' id="myForm" class="ajax"> |
185 | 195 | <input'; |
186 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global))->getControlPart()->attributes() /* line %d% */; |
| 196 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global)->getControlPart())->attributes() /* line %d% */; |
187 | 197 | echo '> |
188 | 198 | '; |
189 | 199 | echo Nette\Bridges\FormsLatte\Runtime::renderFormEnd(end($this->global->formsStack), false) /* line %d% */; |
|
201 | 211 | echo ($ʟ_tmp = array_filter(['nclass'])) ? ' class="' . LR\Filters::escapeHtmlAttr(implode(" ", array_unique($ʟ_tmp))) . '"' : "" /* line %d% */; |
202 | 212 | echo '> |
203 | 213 | <input'; |
204 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global))->getControlPart()->addAttributes(['class' => null])->attributes() /* line %d% */; |
| 214 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global)->getControlPart())->addAttributes(['class' => null])->attributes() /* line %d% */; |
205 | 215 | echo ($ʟ_tmp = array_filter(['nclass'])) ? ' class="' . LR\Filters::escapeHtmlAttr(implode(" ", array_unique($ʟ_tmp))) . '"' : "" /* line %d% */; |
206 | 216 | echo '> |
207 | 217 | '; |
|
218 | 228 | echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin(end($this->global->formsStack), [], false) /* line %d% */; |
219 | 229 | echo '> |
220 | 230 | <input'; |
221 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global))->getControlPart()->attributes() /* line %d% */; |
| 231 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global)->getControlPart())->attributes() /* line %d% */; |
222 | 232 | echo '> |
223 | 233 | '; |
224 | 234 | echo Nette\Bridges\FormsLatte\Runtime::renderFormEnd(end($this->global->formsStack), false) /* line %d% */; |
|
228 | 238 | echo ' |
229 | 239 |
|
230 | 240 | <select'; |
231 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('select', $this->global))->getControlPart()->attributes() /* line %d% */; |
| 241 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('select', $this->global)->getControlPart())->attributes() /* line %d% */; |
232 | 242 | echo '>'; |
233 | | - echo $ʟ_input->getControl()->getHtml() /* line %d% */; |
| 243 | + echo $ʟ_elem->getHtml() /* line %d% */; |
234 | 244 | echo '</select> |
235 | 245 |
|
236 | 246 |
|
237 | 247 | <textarea'; |
238 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('area', $this->global))->getControlPart()->addAttributes(['title' => null])->attributes() /* line %d% */; |
| 248 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('area', $this->global)->getControlPart())->addAttributes(['title' => null])->attributes() /* line %d% */; |
239 | 249 | echo ' title="'; |
240 | 250 | echo LR\Filters::escapeHtmlAttr(10) /* line %d% */; |
241 | 251 | echo '">'; |
242 | | - echo $ʟ_input->getControl()->getHtml() /* line %d% */; |
| 252 | + echo $ʟ_elem->getHtml() /* line %d% */; |
243 | 253 | echo '</textarea> |
244 | 254 |
|
245 | 255 |
|
246 | 256 | <select'; |
247 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('select', $this->global))->getControlPart()->attributes() /* line %d% */; |
| 257 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('select', $this->global)->getControlPart())->attributes() /* line %d% */; |
248 | 258 | echo '>'; |
249 | | - echo $ʟ_input->getControl()->getHtml() /* line %d% */; |
| 259 | + echo $ʟ_elem->getHtml() /* line %d% */; |
250 | 260 | echo '</select> |
251 | 261 | '; |
252 | 262 | echo Nette\Bridges\FormsLatte\Runtime::renderFormEnd(array_pop($this->global->formsStack)) /* line %d% */; |
|
259 | 269 | Nette\Bridges\FormsLatte\Runtime::initializeForm($form); |
260 | 270 | echo ' |
261 | 271 | <label'; |
262 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global))->getLabelPart()->attributes() /* line %d% */; |
| 272 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('sex', $this->global)->getLabelPart())->attributes() /* line %d% */; |
263 | 273 | echo '>'; |
264 | | - echo $ʟ_input->getLabelPart()->getHtml() /* line %d% */; |
| 274 | + echo $ʟ_elem->getHtml() /* line %d% */; |
265 | 275 | echo '</label> |
266 | 276 | <input'; |
267 | | - echo ($ʟ_input = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global))->getControlPart()->attributes() /* line %d% */; |
| 277 | + echo ($ʟ_elem = Nette\Bridges\FormsLatte\Runtime::item('username', $this->global)->getControlPart())->attributes() /* line %d% */; |
268 | 278 | echo '> |
269 | 279 | '; |
270 | 280 | array_pop($this->global->formsStack) /* line %d% */; |
|
0 commit comments