lib/express_templates/components/forms/radio.rb in express_templates-0.11.9 vs lib/express_templates/components/forms/radio.rb in express_templates-0.11.10
- old
+ new
@@ -57,10 +57,10 @@
if label_after?
div(class: "radio-input-container") {
radio_button(resource_name, field_name.to_sym, key, class: 'radio')
label({
class: config[:label_wrapper_class],
- for: "#{resource_name}_#{field_name}_#{key}",
+ for: [resource_name, field_name, key].join("_").downcase,
}) {
current_arbre_element.add_child value
}
}
else