radio
Purpose
Generates a radio buttonExamples
<g:radio name="myGroup" value="1"/> <g:radio name="myGroup" value="2" checked="true"/>
<input type="radio" name="myGroup" value="1" /> <input type="radio" name="myGroup" checked="checked" value="2" />
Description
Attributesvalue
(required) - The value of the radio buttonname
(required) - The name of the radio buttonchecked
(optional) - boolean to indicate that the radio button should be checked