Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 30, 2011
  1. Rails 3.1 Asset Pipeline compatibility (Fixes #563)

    authored
    * removed formtastic_changes.css
    * moved formtastic.css into app/assets/stylesheets/formtastic.css
    * changed install generator to only copy formtastic.css in Rails < 3.1
    * changed install generator to source the stylesheet template from new location
    * added formtastic/engine.rb, which seems to be needed to trigger asset pipeline
    * updated documentation
    
    Also modified install instructions in README to include bundling from master.
    
    For Rails 3.1, instead of copying the styles across with a generator, simply add them to your application.css with sprockets:
    
    `*= require formtastic`
Commits on Apr 11, 2011
  1. moved Reflection under Helpers namespace as it's only ErrorsHelper an…

    authored
    …d InputHelper that use this now
Commits on Apr 10, 2011
  1. Better handling of Polymorphic inputs without a :collection (fixes #511)

    authored
    We cannot guess which class to use for the :collection when rendering an input for a polymorphic association, so:
    
    * skip polymorphic associations altogether when rendering inputs with quick form syntax (<%= f.inputs %>)
    * raise an error when quick form syntax (<%= f.inputs :title, :body %>) tries to render an input for a polymorphic association
    * raise an error when a :collection is not provided in block form syntax (<%= f.inputs do %><%= f.input :foo %><% end %>) on a polymorphic association
Commits on Apr 4, 2011
  1. Added support for modified and custom inputs in app/inputs/.

    authored
    * FooInput will be tried before Formtastic::Inputs::FooInput
    * UnknownInputError raised if FooInput and Formtastic::Inputs::FooInput don't exist
    * app/* is already in the load path
    * docs added
Commits on Apr 1, 2011
Commits on Feb 25, 2011
  1. @sobrinho
Commits on Jan 20, 2011
  1. @sobrinho

    Merge branch 'kill-rails-2' into v2

    sobrinho authored
    Conflicts:
    	lib/formtastic.rb
    	lib/generators/templates/formtastic.rb
    	spec/form_helper_spec.rb
    	spec/input_spec.rb
    	spec/inputs_spec.rb
    	spec/spec_helper.rb
    	spec/support/custom_macros.rb
Commits on Jan 19, 2011
  1. Renamed all instances of Formtastic::SemanticFormBuilder to Formtasti…

    authored
    …c::Builder, Formtastic::SemanticFormHelper to Formtastic::Helpers::FormHelper and ::Formtastic to just Formtastic.
    
    Still need to work out upgrade path/warnings/etc, but the old class names still work for now (for those awesome enough to be on the edge).
  2. renamed Formtastic::SemanticFormBuilder to Builder::Base and Formtast…

    authored
    …ic::SemanticFormHelper to Formtastic::Helpers::FormHelper, with backwards-compatible class and module respectively to keep dependencies happy for now.
  3. first pass removing rails 2 or conditional rails 3 logic from formtas…

    authored
    …tic.rb, including one rails 2 centric spec
  4. @sobrinho
Commits on Jan 13, 2011
  1. Merge branch 'master' into kill-rails-2

    authored
    Conflicts:
    	spec/inputs_spec.rb
Commits on Jan 12, 2011
  1. first pass removing rails 2 or conditional rails 3 logic from formtas…

    authored
    …tic.rb, including one rails 2 centric spec
Commits on Dec 20, 2010
  1. fixing a bad merge

    authored
    Conflicts:
    
    	lib/formtastic.rb
  2. Merge branch 'class_attribute_fix'

    authored
    Conflicts:
    	lib/formtastic.rb
  3. @adzap

    Stylistic change to remove self. prefix on method calls

    adzap authored committed
  4. @adzap

    Use class_attribute configuration instance methods

    adzap authored committed
  5. @adzap
  6. .dup options hash before we fiddle with it so that the same hash can …

    authored
    …be re-used in views between inputs (GH-474)
Commits on Dec 19, 2010
Commits on Dec 12, 2010
Commits on Nov 26, 2010
  1. @asanghi
Commits on Nov 23, 2010
  1. @lardawge

    input_html should be passed to checkbox_tag

    lardawge authored committed
Commits on Nov 22, 2010
  1. Resolves #446 by not forcing :include_blank to be false on multi sele…

    authored
    …cts.
    
    Also added a heap of extra coverage.
Something went wrong with that request. Please try again.