Commit 623ab026 authored by Ruslan Kabalin's avatar Ruslan Kabalin
Browse files

pieforms: prevent disabling label on radio-button element title.

Fixes applying unified label styles (c24a33fe

) to radio-button pieforms
elements.
Signed-off-by: default avatarRuslan Kabalin <ruslan.kabalin@luns.net.uk>
parent d1885d7d
......@@ -70,7 +70,6 @@ function pieform_element_radio(Pieform $form, $element) {/*{{{*/
}/*}}}*/
function pieform_element_radio_set_attributes($element) {/*{{{*/
$element['nolabel'] = true;
$element['rules']['validateoptions'] = true;
return $element;
}/*}}}*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment