|
|
@ -55,7 +55,7 @@ class ActiveFieldTest extends TestCase |
|
|
|
$expectedHtml = <<<HTML |
|
|
|
$expectedHtml = <<<HTML |
|
|
|
<div class="form-group field-dynamicmodel-attributename"> |
|
|
|
<div class="form-group field-dynamicmodel-attributename"> |
|
|
|
<label class="control-label">Attribute Name</label> |
|
|
|
<label class="control-label">Attribute Name</label> |
|
|
|
<input type="hidden" name="DynamicModel[attributeName]" value=""><div id="dynamicmodel-attributename"><div class="radio"><label><input type="radio" name="DynamicModel[attributeName]" value="1"> name1</label></div> |
|
|
|
<input type="hidden" name="DynamicModel[attributeName]" value=""><div id="dynamicmodel-attributename" role="radiogroup"><div class="radio"><label><input type="radio" name="DynamicModel[attributeName]" value="1"> name1</label></div> |
|
|
|
<div class="radio"><label><input type="radio" name="DynamicModel[attributeName]" value="2"> name2</label></div></div> |
|
|
|
<div class="radio"><label><input type="radio" name="DynamicModel[attributeName]" value="2"> name2</label></div></div> |
|
|
|
|
|
|
|
|
|
|
|
<p class="help-block help-block-error"></p> |
|
|
|
<p class="help-block help-block-error"></p> |
|
|
@ -158,4 +158,4 @@ EXPECTED; |
|
|
|
EXPECTED; |
|
|
|
EXPECTED; |
|
|
|
$this->assertEqualsWithoutLE($expectedHtml, $html); |
|
|
|
$this->assertEqualsWithoutLE($expectedHtml, $html); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|