Wanted to make something like:

- type: Select
  name: gender
  label_loc: 'formx_label_gender'
  options:
    - value: 'm'
      label_loc: 'formx_label_gender_m'
    - value: 'f'
      label_loc: 'formx_label_gender_f'
    - value: 'x'
      label_loc: 'formx_label_gender_x'

But it didn't work. Don't know if the fix is ok, but it works %)


Index: lib/HTML/FormFu/Element/_Group.pm
===================================================================
--- lib/HTML/FormFu/Element/_Group.pm   (revision 866)
+++ lib/HTML/FormFu/Element/_Group.pm   (working copy)
@@ -15,6 +15,7 @@
     group
     value
     label
+    label_loc
     attributes
     attrs
     attributes_xml

-- 
vti -- Viacheslav Tikhanovskii

_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to