El Sunday 25 January 2009 16:24:24 Ed W escribió: > Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::. > > wrote: > > El Wednesday 21 January 2009 16:46:44 naaano escribió: > >> Wiki says: > >> (api:column) css_class is used in List and Create/Update forms. > >> However, this only happens for list and show. > > > > It happens as wiki says: "In lists is added to TD tag, and in forms is > > added to DL tag, so you can set css for labels and fields". So it's not > > set in input, select or textarea. > > Seems inconsistent in effect then. Perhaps it's worth reviewing how > these assumptions work? >
It's documented where the class is added. If the class isn't added to dl tag, label can't be styled, adding to dl tag enables you to style label and field. To integrate a rich text editor I define a rich_editor form_ui (active_scaffold_input_rich_editor) which outputs a textarea with a specific class and javascript code to enable rich text editor when form is shown by ajax. -- Sergio Cambra .:: entreCables S.L. ::. Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
