lib/scaffolding_extensions/helper.rb
def scaffold_text_field_tag_with_auto_complete(id, model_name, association = nil, options = {})
        content = ScaffoldingExtensions.auto_complete_css.dup
        content << scaffold_field_tag(:string, {:value=>'', :id=>id, :class=>'autocomplete'}.merge(options))
        content << scaffold_javascript_autocompleter(id, model_name, association)
        content
      end
# Text field with scaffold autocompleting.  The id is the html id, and the model name and association
# are passed to scaffold_javascript_autocompleter.  The options are passed to scaffold_field_tag.
Text field with scaffold autocompleting.  The id is the html id, and the model name and association
are passed to scaffold_javascript_autocompleter.  The options are passed to scaffold_field_tag.
Text field with scaffold autocompleting . The id is the html id and the model name and association are passed to scaffold_javascript_autocompleter . The options are passed to scaffold_field_tag .
def scaffold_text_field_tag_with_auto_complete(id, model_name, association = nil, options = {})
        content = ScaffoldingExtensions.auto_complete_css.dup
        content << scaffold_field_tag(:string, {:value=>'', :id=>id, :class=>'autocomplete'}.merge(options))
        content << scaffold_javascript_autocompleter(id, model_name, association)
        content
      end
def scaffold_text_field_tag_with_auto_complete ( id , model_name , association = nil , options = { } ) content = ScaffoldingExtensions . auto_complete_css . dup content << scaffold_field_tag ( :string , { :value => '' , :id => id , :class => 'autocomplete' } . merge ( options ) ) content << scaffold_javascript_autocompleter ( id , model_name , association ) content end
Text field with scaffold autocompleting.
Text field with scaffold autocompleting .
id
model_name
association
options