From 420354a76d012eceb60d83f875dd6ca8bf2da7a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Tue, 27 Jan 2015 16:12:05 +0100 Subject: [PATCH] L.radio_button_tag: value in id mit einbeziehen --- SL/Template/Plugin/L.pm | 2 ++ 1 file changed, 2 insertions(+) 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 { -- 2.20.1