We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9d0d1a commit b0f64f4Copy full SHA for b0f64f4
src/Bridges/FormsLatte/Runtime.php
@@ -88,7 +88,7 @@ public static function renderBlueprint($form): void
88
89
public function getLabel($name = null)
90
{
91
- return $this->inner->getLabel() ? '{label ' . $this->inner->lookupPath(Form::class) . '}' : null;
+ return $this->inner->getLabel() ? '{label ' . $this->inner->lookupPath(Form::class) . '/}' : null;
92
}
93
94
tests/Forms.Latte/Runtime.renderBlueprint.phpt
@@ -49,7 +49,7 @@ Assert::match(
49
50
<dl>
51
52
- <dt>{label name}:</dt>
+ <dt>{label name/}:</dt>
53
54
<dd>{input name}
55
@@ -60,7 +60,7 @@ Assert::match(
60
61
62
63
- <dt>{label cont-name}:</dt>
+ <dt>{label cont-name/}:</dt>
64
65
<dd class="odd">{input cont-name}
66
0 commit comments