diff options
| author | Ivan Kohler <ivan@freeside.biz> | 2016-09-24 10:28:06 -0700 |
|---|---|---|
| committer | Ivan Kohler <ivan@freeside.biz> | 2016-09-24 10:28:06 -0700 |
| commit | 7322f2afedcc2f427e997d1535a503613a83f088 (patch) | |
| tree | 6c0d4e68906bfdaaff2a2067620e222611b979ea /rt/share/html/Widgets/Form/Boolean | |
| parent | ae14e320388fa5e7f400bff1c251ef885b7952e6 (diff) | |
rt 4.2.13 ticket#13852
Diffstat (limited to 'rt/share/html/Widgets/Form/Boolean')
| -rw-r--r-- | rt/share/html/Widgets/Form/Boolean | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/rt/share/html/Widgets/Form/Boolean b/rt/share/html/Widgets/Form/Boolean index 0d5bd1aea..aade98e88 100644 --- a/rt/share/html/Widgets/Form/Boolean +++ b/rt/share/html/Widgets/Form/Boolean @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2015 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2016 Best Practical Solutions, LLC %# <sales@bestpractical.com> %# %# (Except where explicitly superseded by other copyright notices) @@ -73,12 +73,18 @@ $CurrentValue => undef, <input type="hidden" name="<% $Name %>" value="0" />\ <input type="checkbox" name="<% $Name %>" value="1" <% $CurrentValue? ' checked="checked"': '' |n %> />\ % } else { -<input type="radio" name="<% $Name %>" value="1" <% $CurrentValue? ' checked="checked"': '' |n %> />\ -<% loc('Yes') %> -<input type="radio" name="<% $Name %>" value="0" <% defined $CurrentValue && !$CurrentValue? ' checked="checked"': '' |n %> />\ -<% loc('No') %> -<input type="radio" name="<% $Name %>" value="__empty_value__" <% !defined $CurrentValue? ' checked="checked"': '' |n %> />\ -<% $DefaultLabel %> +<label> + <input type="radio" name="<% $Name %>" value="1" <% $CurrentValue? ' checked="checked"': '' |n %> />\ + <% loc('Yes') %> +</label> +<label> + <input type="radio" name="<% $Name %>" value="0" <% defined $CurrentValue && !$CurrentValue? ' checked="checked"': '' |n %> />\ + <% loc('No') %> +</label> +<label> + <input type="radio" name="<% $Name %>" value="__empty_value__" <% !defined $CurrentValue? ' checked="checked"': '' |n %> />\ + <% $DefaultLabel %> +</label> % } </%METHOD> |
