Skip to content
This repository

Jan 14, 2012

  1. Justin French

    whitespace fixes for the fussy sobrinho ;)

    authored
  2. Justin French

    Introducing actions for submit, cancel and reset buttons

    authored

Dec 24, 2011

  1. Andrew Haines

    Remove railtie

    haines authored

Oct 25, 2011

  1. Justin French

    remove deprecated SemanticFormBuilder

    authored

Oct 11, 2011

  1. Nathan Long

    Ability to customize localization

    - `localized_string` uses a configurable class
    to perform lookups
    - FormBuilder.i18n_localizer is Formtastic::Localizer
    by default; this maintains backwards compatability
    - Updated documentation and generator accordingly
    nathanl authored

May 30, 2011

  1. Justin French

    Rails 3.1 Asset Pipeline compatibility (Fixes #563)

    * 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`

Apr 11, 2011

  1. Justin French

    moved Reflection under Helpers namespace as it's only ErrorsHelper an…

    …d InputHelper that use this now
    authored
  2. Justin French

    hide the Exception classes from Yard

    authored

Apr 10, 2011

  1. Justin French

    Better handling of Polymorphic inputs without a :collection (fixes #511)

    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
    authored

Apr 04, 2011

  1. Justin French

    Added support for modified and custom inputs in app/inputs/.

    * 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

Apr 01, 2011

  1. Justin French

    we also need to autoload Util

    authored
  2. Justin French

    require railtie so that the autoloaded helpers are actually loaded in…

    …to the app
    authored
  3. Justin French

    autoload SemanticFormBuilder for backwards compat for now

    authored

Feb 25, 2011

  1. Gabriel Sobrinho

    Remove requires in favor of autoload

    sobrinho authored

Jan 20, 2011

  1. Gabriel Sobrinho

    Merge branch 'kill-rails-2' into v2

    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
    sobrinho authored

Jan 19, 2011

  1. Justin French

    Renamed all instances of Formtastic::SemanticFormBuilder to Formtasti…

    …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).
    authored
  2. Justin French

    move RESERVED_COLUMNS into InputsHelper

    authored
  3. Justin French

    rename Builder::Base to FormBuilder

    authored
  4. Justin French

    renamed Formtastic::SemanticFormBuilder to Builder::Base and Formtast…

    …ic::SemanticFormHelper to Formtastic::Helpers::FormHelper, with backwards-compatible class and module respectively to keep dependencies happy for now.
    authored
  5. Justin French

    split SemanticFormBuilder and SemanticFormHelper into two separate fi…

    …les (finally!)
    authored
  6. Justin French

    pretty sure we don't need these in Rails 3

    authored
  7. Justin French

    first pass removing rails 2 or conditional rails 3 logic from formtas…

    …tic.rb, including one rails 2 centric spec
    authored
  8. Gabriel Sobrinho

    Drop Formtasticc::Util.rails_safe_buffer_class which was used to supp…

    …ort rails 2 and 3
    sobrinho authored

Jan 13, 2011

  1. Justin French

    Merge branch 'master' into kill-rails-2

    Conflicts:
    	spec/inputs_spec.rb
    authored
  2. Justin French

    dup the html_options before deleting stuff from it, resolves GH-480

    authored

Jan 12, 2011

  1. Justin French

    pretty sure we don't need these in Rails 3

    authored
  2. Justin French

    first pass removing rails 2 or conditional rails 3 logic from formtas…

    …tic.rb, including one rails 2 centric spec
    authored

Dec 20, 2010

  1. Justin French

    fixing a bad merge

    Conflicts:
    
    	lib/formtastic.rb
    authored
  2. Justin French

    Merge branch 'class_attribute_fix'

    Conflicts:
    	lib/formtastic.rb
    authored
  3. Adam Meehan

    Stylistic change to remove self. prefix on method calls

    adzap authored committed
  4. Adam Meehan

    Use class_attribute configuration instance methods

    adzap authored committed
  5. Adam Meehan

    use class_attribute as the priority over class_inheritable_accesssor

    adzap authored committed
  6. Justin French

    .dup options hash before we fiddle with it so that the same hash can …

    …be re-used in views between inputs (GH-474)
    authored

Dec 19, 2010

  1. Justin French

    use class_attribute instead of class_inheritable_accessor if defined

    authored

Dec 12, 2010

  1. Justin French

    corrected documentation on how to override a value

    authored
Something went wrong with that request. Please try again.