allow friendly from: addresses on email notices, #22962
[freeside.git] / httemplate / elements / radio.html
1 <% $opt{'prefix'} %><INPUT TYPE  = "radio"
2                            NAME  = "<% $opt{field} %>"
3                            ID    = "<% $opt{id}.'_'.$opt{value} %>"
4                            VALUE = "<% $opt{value} %>"
5                            <% $opt{curr_value} eq $opt{value}
6                                 ? ' CHECKED'
7                                 : ''
8                            %>
9                            <% $onchange %>
10                     ><% $opt{'postfix'} %>
11 <%init>
12
13 my %opt = @_;
14
15 my $onchange = $opt{'onchange'}
16                  ? 'onChange="'. $opt{'onchange'}. '(this)"'
17                  : '';
18
19 </%init>