Skip to content

Commit f0a88aa

Browse files
committed
tests: updated Latte
1 parent 2dd5b11 commit f0a88aa

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"require-dev": {
2323
"nette/di": "~2.3",
2424
"nette/tester": "~1.3",
25-
"latte/latte": "~2.2, >=2.2.3",
25+
"latte/latte": "~2.3",
2626
"tracy/tracy": "~2.2"
2727
},
2828
"conflict": {

tests/Forms.Latte/expected/FormMacros.formContainer.phtml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,6 @@ echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $_form = $_contro
5050
</tr>
5151
</table>
5252
<?php echo Nette\Bridges\FormsLatte\Runtime::renderFormEnd($_form) ?>
53+
54+
<?php
55+
%A%

tests/Forms.Latte/expected/FormMacros.forms.phtml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,5 @@ echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $_form = $_contro
105105

106106

107107
<select<?php $_input = $_form["select"]; echo $_input->{method_exists($_input, 'getControlPart')?'getControlPart':'getControl'}()->attributes() ?>
108-
><?php echo $_input->getControl()->getHtml() ?></select>
108+
><?php echo $_input->getControl()->getHtml() ?></select><?php
109+
%A%

tests/Forms.Latte/expected/FormMacros.get.phtml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,5 @@ echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $_form = $_contro
66
<form<?php echo Nette\Bridges\FormsLatte\Runtime::renderFormBegin($form = $_form = $_control["myForm"], array (
77
), FALSE) ?>>
88
<?php echo Nette\Bridges\FormsLatte\Runtime::renderFormEnd($_form, FALSE) ?></form>
9+
<?php
10+
%A%

0 commit comments

Comments
 (0)