@@ -4,17 +4,17 @@ Nette\Bridges\FormsLatte\FormMacros::renderFormBegin($form = $_form = $_control[
44 <?php $ _input = is_object ($ name ) ? $ name : $ _form [$ name ]; if ($ _label = $ _input ->getLabel ()) echo $ _label ?>
55
66<?php $ _input = is_object ($ name ) ? $ name : $ _form [$ name ]; echo $ _input ->getControl ()->addAttributes (array ('title ' => 'Hello ' , 'size ' => 10 )) ?>
7- <?php echo Nette \ Latte \Runtime \Filters::escapeHtml ($ _input ->getError (), ENT_NOQUOTES ) ?>
7+ <?php echo Latte \Runtime \Filters::escapeHtml ($ _input ->getError (), ENT_NOQUOTES ) ?>
88
9- <?php $ _input = is_object ($ name ) ? $ name : $ _form [$ name ]; echo Nette \ Latte \Runtime \Filters::escapeHtml ($ _input ->getError (), ENT_NOQUOTES ) ?>
9+ <?php $ _input = is_object ($ name ) ? $ name : $ _form [$ name ]; echo Latte \Runtime \Filters::escapeHtml ($ _input ->getError (), ENT_NOQUOTES ) ?>
1010
1111 <br>
1212
1313 <?php $ _input = is_object ($ form [$ name ]) ? $ form [$ name ] : $ _form [$ form [$ name ]]; if ($ _label = $ _input ->getLabel ()) echo $ _label ->addAttributes (array ('title ' => 'hello ' ))->startTag () ?>
1414 <?php $ _input = is_object ($ form [$ name ]) ? $ form [$ name ] : $ _form [$ form [$ name ]]; echo $ _input ->getControl ()->addAttributes (array ('title ' => 'Hello ' , 'size ' => 10 )) ?>
1515 <?php if ($ _label ) echo $ _label ->endTag () ?>
1616
17- <?php $ _input = is_object ($ form [$ name ]) ? $ form [$ name ] : $ _form [$ form [$ name ]]; echo Nette \ Latte \Runtime \Filters::escapeHtml ($ _input ->getError (), ENT_NOQUOTES ) ;$ iterations ++; } ?>
17+ <?php $ _input = is_object ($ form [$ name ]) ? $ form [$ name ] : $ _form [$ form [$ name ]]; echo Latte \Runtime \Filters::escapeHtml ($ _input ->getError (), ENT_NOQUOTES ) ;$ iterations ++; } ?>
1818
1919 <?php $ _input = is_object ($ form ['username ' ]) ? $ form ['username ' ] : $ _form [$ form ['username ' ]]; if ($ _label = $ _input ->getLabel ()) echo $ _label ?>
2020
@@ -42,7 +42,7 @@ Nette\Bridges\FormsLatte\FormMacros::renderFormBegin($form = $_form = $_control[
4242
4343<?php $ iterations = 0 ; foreach ($ form ['sex ' ]->items as $ key => $ label ) { ?>
4444 <?php if ($ _label = $ _form ["sex " ]->getLabelPart ($ key )) echo $ _label ->startTag () ?>
45- <?php echo $ _form ["sex " ]->getControlPart ($ key ) ?> <?php echo Nette \ Latte \Runtime \Filters::escapeHtml ($ label , ENT_NOQUOTES ) ;if ($ _label ) echo $ _label ->endTag () ?>
45+ <?php echo $ _form ["sex " ]->getControlPart ($ key ) ?> <?php echo Latte \Runtime \Filters::escapeHtml ($ label , ENT_NOQUOTES ) ;if ($ _label ) echo $ _label ->endTag () ?>
4646
4747 <label title=hello<?php $ _input = $ _form ["sex " ]; echo $ _input ->getLabelPart ($ key )->addAttributes (array (
4848 'title ' => NULL ,
@@ -63,7 +63,7 @@ Nette\Bridges\FormsLatte\FormMacros::renderFormBegin($form = $_form = $_control[
6363
6464<?php $ iterations = 0 ; foreach ($ form ['checklist ' ]->items as $ key => $ label ) { ?>
6565 <?php if ($ _label = $ _form ["checklist " ]->getLabelPart ($ key )) echo $ _label ->startTag () ?>
66- <?php echo $ _form ["checklist " ]->getControlPart ($ key ) ?> <?php echo Nette \ Latte \Runtime \Filters::escapeHtml ($ label , ENT_NOQUOTES ) ;if ($ _label ) echo $ _label ->endTag () ?>
66+ <?php echo $ _form ["checklist " ]->getControlPart ($ key ) ?> <?php echo Latte \Runtime \Filters::escapeHtml ($ label , ENT_NOQUOTES ) ;if ($ _label ) echo $ _label ->endTag () ?>
6767
6868 <label<?php $ _input = $ _form ["checklist " ]; echo $ _input ->getLabelPart ($ key )->attributes () ?>
6969> <input title=hello<?php $ _input = $ _form ["checklist " ]; echo $ _input ->getControlPart ($ key )->addAttributes (array (
0 commit comments