My intention is to be able to use a rich text editor (yui editor) on AS textareas by setting :class => "rich_text_editor".
On Jan 21, 12:46 pm, naaano <[email protected]> wrote: > Wiki says: > (api:column) css_class is used in List and Create/Update forms. > However, this only happens for list and show. > AS form_column_helpers.rb shows: > > # the standard active scaffold options used for class, name and scope > def active_scaffold_input_options(column, scope = nil) > name = scope ? "record#{scope}[#{column.name}]" : "record[# > {column.name}]" > { :name => name, :class => "#{column.name}-input", :id => > "record_#{column.name}_#{[params[:eid], params[:id]].compact.join > '_'}"} > end > > which doesn't include column.css_class like in view_helpers.rb > > def column_class(column, column_value) > classes = [] > classes << "#{column.name}-column" > classes << column.css_class unless column.css_class.nil? > ..... > > shouldn't be column.css_class added to the form input method too? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
