radio

Purpose

Helper tag for a radio button

Examples

<g:radio name="myGroup" value="1"/>
<g:radio name="myGroup" value="2" checked="true"/>

results in:

<input type="radio" name="myGroup" value="1" />
<input type="radio" name="myGroup" checked="checked" value="2" />

Description

Attributes

Source

Show Source