@@ -36,7 +36,7 @@ echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $_form = $_contro
3636
3737 <label<?php $ _input = is_object ($ form ['username ' ]) ? $ form ['username ' ] : $ _form [$ form ['username ' ]]; echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->attributes () ?> ></label>
3838 <label<?php $ _input = is_object ($ form ['username ' ]) ? $ form ['username ' ] : $ _form [$ form ['username ' ]]; echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->attributes () ?>
39- ><?php echo $ _input ->getLabel ()->getHtml () ?> </label>
39+ ><?php echo $ _input ->{ method_exists ( $ _input , ' getLabelPart ' )? ' getLabelPart ' : ' getLabel ' } ()->getHtml () ?> </label>
4040 <input<?php $ _input = is_object ($ form ['username ' ]) ? $ form ['username ' ] : $ _form [$ form ['username ' ]]; echo $ _input ->{method_exists ($ _input , 'getControlPart ' )?'getControlPart ' :'getControl ' }()->attributes () ?> >
4141
4242 <?php if ($ _label = $ _form ["my " ]->getLabel ()) echo $ _label ; echo $ _form ["my " ]->getControl () ?>
@@ -59,10 +59,10 @@ echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $_form = $_contro
5959<?php $ iterations ++; } ?>
6060<label<?php $ _input = $ _form ["sex " ]; echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->attributes () ?> ></label>
6161<label<?php $ _input = $ _form ["sex " ]; echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->attributes () ?>
62- ><?php echo $ _input ->getLabel ()->getHtml () ?> </label>
62+ ><?php echo $ _input ->{ method_exists ( $ _input , ' getLabelPart ' )? ' getLabelPart ' : ' getLabel ' } ()->getHtml () ?> </label>
6363<label title="hello"<?php $ _input = $ _form ["sex " ]; echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->addAttributes (array (
6464 'title ' => NULL ,
65- ))->attributes () ?> ><?php echo $ _input ->getLabel ()->getHtml () ?> </label>
65+ ))->attributes () ?> ><?php echo $ _input ->{ method_exists ( $ _input , ' getLabelPart ' )? ' getLabelPart ' : ' getLabel ' } ()->getHtml () ?> </label>
6666
6767
6868<?php if ($ _label = $ _form ["checkbox " ]->getLabelPart ("" )) echo $ _label ->startTag () ?>
@@ -74,6 +74,11 @@ echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $_form = $_contro
7474<label title=hello<?php $ _input = $ _form ["checkbox " ]; echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->addAttributes (array (
7575 'title ' => NULL ,
7676))->attributes () ?> > <input<?php $ _input = $ _form ["checkbox " ]; echo $ _input ->{method_exists ($ _input , 'getControlPart ' )?'getControlPart ' :'getControl ' }()->attributes () ?> > </label>
77+ <label<?php $ _input = $ _form ["checkbox " ]; echo $ _input ->getLabelPart ("" )->attributes () ?>
78+ ><?php echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->getHtml () ?> </label>
79+ <label title=hello<?php $ _input = $ _form ["checkbox " ]; echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->addAttributes (array (
80+ 'title ' => NULL ,
81+ ))->attributes () ?> ><?php echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->getHtml () ?> </label>
7782
7883
7984<?php $ iterations = 0 ; foreach ($ form ['checklist ' ]->items as $ key => $ label ) { ?>
@@ -87,10 +92,10 @@ echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $_form = $_contro
8792<?php $ iterations ++; } ?>
8893<label<?php $ _input = $ _form ["checklist " ]; echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->attributes () ?> ></label>
8994<label<?php $ _input = $ _form ["checklist " ]; echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->attributes () ?>
90- ><?php echo $ _input ->getLabel ()->getHtml () ?> </label>
95+ ><?php echo $ _input ->{ method_exists ( $ _input , ' getLabelPart ' )? ' getLabelPart ' : ' getLabel ' } ()->getHtml () ?> </label>
9196<label title="hello"<?php $ _input = $ _form ["checklist " ]; echo $ _input ->{method_exists ($ _input , 'getLabelPart ' )?'getLabelPart ' :'getLabel ' }()->addAttributes (array (
9297 'title ' => NULL ,
93- ))->attributes () ?> ><?php echo $ _input ->getLabel ()->getHtml () ?> </label>
98+ ))->attributes () ?> ><?php echo $ _input ->{ method_exists ( $ _input , ' getLabelPart ' )? ' getLabelPart ' : ' getLabel ' } ()->getHtml () ?> </label>
9499
95100
96101<?php if (1 ) { ?> <form id="myForm" class="ajax"<?php echo Nette \Bridges \FormsLatte \Runtime::renderFormBegin ($ form = $ _form = $ _control ["myForm " ], array (
0 commit comments