@@ -53,7 +53,7 @@ public function testLabelOnForm()
53
53
$ html = $ this ->renderLabel ($ view );
54
54
55
55
$ this ->assertMatchesXpath ($ html ,
56
- '/legend
56
+ '/legend
57
57
[@class="col-form-label col-sm-2 col-form-label required"]
58
58
[.="[trans]Name[/trans]"]
59
59
'
@@ -70,7 +70,7 @@ public function testLabelDoesNotRenderFieldAttributes()
70
70
]);
71
71
72
72
$ this ->assertMatchesXpath ($ html ,
73
- '/label
73
+ '/label
74
74
[@for="name"]
75
75
[@class="col-form-label col-sm-2 required"]
76
76
'
@@ -87,7 +87,7 @@ public function testLabelWithCustomAttributesPassedDirectly()
87
87
]);
88
88
89
89
$ this ->assertMatchesXpath ($ html ,
90
- '/label
90
+ '/label
91
91
[@for="name"]
92
92
[@class="my&class col-form-label col-sm-2 required"]
93
93
'
@@ -104,7 +104,7 @@ public function testLabelWithCustomTextAndCustomAttributesPassedDirectly()
104
104
]);
105
105
106
106
$ this ->assertMatchesXpath ($ html ,
107
- '/label
107
+ '/label
108
108
[@for="name"]
109
109
[@class="my&class col-form-label col-sm-2 required"]
110
110
[.="[trans]Custom label[/trans]"]
@@ -124,7 +124,7 @@ public function testLabelWithCustomTextAsOptionAndCustomAttributesPassedDirectly
124
124
]);
125
125
126
126
$ this ->assertMatchesXpath ($ html ,
127
- '/label
127
+ '/label
128
128
[@for="name"]
129
129
[@class="my&class col-form-label col-sm-2 required"]
130
130
[.="[trans]Custom label[/trans]"]
@@ -177,7 +177,7 @@ public function testLegendOnExpandedType()
177
177
$ html = $ this ->renderLabel ($ view );
178
178
179
179
$ this ->assertMatchesXpath ($ html ,
180
- '/legend
180
+ '/legend
181
181
[@class="col-sm-2 col-form-label required"]
182
182
[.="[trans]Custom label[/trans]"]
183
183
'
@@ -255,7 +255,7 @@ public function testCheckboxRowWithHelp()
255
255
$ html = $ this ->renderRow ($ view , ['label ' => 'foo ' , 'help ' => 'really helpful text ' ]);
256
256
257
257
$ this ->assertMatchesXpath ($ html ,
258
- '/div
258
+ '/div
259
259
[@class="form-group row"]
260
260
[
261
261
./div[@class="col-sm-2" or @class="col-sm-10"]
@@ -274,7 +274,7 @@ public function testRadioRowWithHelp()
274
274
$ html = $ this ->renderRow ($ form ->createView (), ['label ' => 'foo ' , 'help ' => 'really helpful text ' ]);
275
275
276
276
$ this ->assertMatchesXpath ($ html ,
277
- '/div
277
+ '/div
278
278
[@class="form-group row"]
279
279
[
280
280
./div[@class="col-sm-2" or @class="col-sm-10"]
0 commit comments