@@ -21,7 +21,7 @@ public function testLabelOnForm()
21
21
$ html = $ this ->renderLabel ($ view );
22
22
23
23
$ this ->assertMatchesXpath ($ html ,
24
- '/label
24
+ '/label
25
25
[@class="col-sm-2 control-label required"]
26
26
[.="[trans]Name[/trans]"]
27
27
'
@@ -38,7 +38,7 @@ public function testLabelDoesNotRenderFieldAttributes()
38
38
]);
39
39
40
40
$ this ->assertMatchesXpath ($ html ,
41
- '/label
41
+ '/label
42
42
[@for="name"]
43
43
[@class="col-sm-2 control-label required"]
44
44
'
@@ -55,7 +55,7 @@ public function testLabelWithCustomAttributesPassedDirectly()
55
55
]);
56
56
57
57
$ this ->assertMatchesXpath ($ html ,
58
- '/label
58
+ '/label
59
59
[@for="name"]
60
60
[@class="my&class col-sm-2 control-label required"]
61
61
'
@@ -72,7 +72,7 @@ public function testLabelWithCustomTextAndCustomAttributesPassedDirectly()
72
72
]);
73
73
74
74
$ this ->assertMatchesXpath ($ html ,
75
- '/label
75
+ '/label
76
76
[@for="name"]
77
77
[@class="my&class col-sm-2 control-label required"]
78
78
[.="[trans]Custom label[/trans]"]
@@ -92,7 +92,7 @@ public function testLabelWithCustomTextAsOptionAndCustomAttributesPassedDirectly
92
92
]);
93
93
94
94
$ this ->assertMatchesXpath ($ html ,
95
- '/label
95
+ '/label
96
96
[@for="name"]
97
97
[@class="my&class col-sm-2 control-label required"]
98
98
[.="[trans]Custom label[/trans]"]
@@ -170,7 +170,7 @@ public function testCheckboxRowWithHelp()
170
170
$ html = $ this ->renderRow ($ form ->createView (), ['label ' => 'foo ' , 'help ' => 'really helpful text ' ]);
171
171
172
172
$ this ->assertMatchesXpath ($ html ,
173
- '/div
173
+ '/div
174
174
[@class="form-group"]
175
175
[
176
176
./div[@class="col-sm-2" or @class="col-sm-10"]
0 commit comments