From: Sven Schöling Date: Tue, 27 Jan 2015 15:12:05 +0000 (+0100) Subject: L.radio_button_tag: value in id mit einbeziehen X-Git-Tag: release-3.2.0beta~24 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=420354a76d012eceb60d83f875dd6ca8bf2da7a4;p=kivitendo-erp.git L.radio_button_tag: value in id mit einbeziehen --- diff --git a/SL/Template/Plugin/L.pm b/SL/Template/Plugin/L.pm index 720c5b7de..62a4e8620 100644 --- a/SL/Template/Plugin/L.pm +++ b/SL/Template/Plugin/L.pm @@ -126,6 +126,8 @@ sub radio_button_tag { _set_id_attribute(\%attributes, $name, 1); my $label = delete $attributes{label}; + _set_id_attribute(\%attributes, $name . '_' . $attributes{value}); + if ($attributes{checked}) { $attributes{checked} = 'checked'; } else {