18.4.表单控件

表单控件

echo FormControl::radio('name','1');

<div class='radio'>
    <label><input type='radio' name='name' value='1' class=''    checked='checked' />是</label>
    <label><input type='radio' name='name' value='0'  class=''    />否</label>
</div>  <div class="radio">
    <label><input type="radio" name="name" value="1" class=""    checked='checked' />是</label>
    <label><input type="radio" name="name" value="0"  class=""    />否</label>
</div>