Commits on Oct 12, 2009
  1. Merge branch 'master' of git://github.com/justinfrench/formtastic

    Conflicts:
    	lib/formtastic.rb
    Bob Burbach committed Oct 12, 2009
Commits on Oct 11, 2009
  1. @justinfrench

    the installer just prompts to run the generator now, rather than dump…

    …ing the (giant) README to the screen
    justinfrench committed Oct 11, 2009
  2. @justinfrench

    Combined the "formtastic_config" and "formtastic_stylesheets" generat…

    …ors into one single "formtastic" generator that does both.
    justinfrench committed Oct 11, 2009
  3. @justinfrench

    Going back to generators instead of Rake tasks for copying stylesheet…

    …s and config files, because Rake tasks are not detected in Rails gem plugins (partially reverts 852751b).
    
    * nuked the stylesheets rake task in favor of the old generator
    * nuked the config rake task in favor of a new generator
    * updated gemspec to match new files
    justinfrench committed Oct 11, 2009
Commits on Oct 7, 2009
  1. @justinfrench
  2. @justinfrench

    Only use i18n date order if one exists.

    Tomas Jogin committed with justinfrench Oct 7, 2009
Commits on Oct 3, 2009
  1. @justinfrench
  2. @l15n @justinfrench

    Use interpolation for I18n button text

    Allows languages with different word orderings to use natural
    translations for commit button text.
    l15n committed with justinfrench Sep 28, 2009
  3. @justinfrench

    Valid label for="..." on radio buttons/check boxes

    This generates the label's for attributes in the same way the input's id
    is generated inside Rails.
    Sandro Turriate and Tim Pope committed with justinfrench Sep 28, 2009
  4. @justinfrench

    failing spec for issue #57

    justinfrench committed Oct 3, 2009
  5. @grimen @justinfrench

    Aliasing :semantic_form_remote_for => :semantic_remote_form_for. No n…

    …eed to declare same method two times - that is identical.
    grimen committed with justinfrench Sep 30, 2009
  6. @grimen @justinfrench

    Fixed issue where field_error_proc gets overridden globally - not any…

    …more, only Formtastic. (But if wanted to set it globally, access Formtastic's field_error_proc with Formtastic::SemanticFormHelper::FIELD_ERROR_PROC and set it "the traditional way").
    grimen committed with justinfrench Sep 30, 2009
  7. @grimen @justinfrench
  8. @grimen @justinfrench
Commits on Sep 27, 2009
  1. @justinfrench

    refactored the errors_on specs to better describe the functional valu…

    …e, including better coverage for previous commit
    justinfrench committed Sep 28, 2009
  2. @justinfrench

    should resolve #51, where the errors class was being applied when the…

    …re was an empty array of errors
    justinfrench committed Sep 27, 2009
  3. @justinfrench
  4. @grimen @justinfrench

    Force test-unit 1.2.3 - test-unit 2.0.x causes problems.

    Signed-off-by: Justin French <justin@indent.com.au>
    grimen committed with justinfrench Sep 24, 2009
  5. @grimen @justinfrench

    Got specs running on Ruby 1.9.1 after a lot of debugging. Class names…

    …pacing issue because of the stricter Ruby 1.9.x. block scoping.
    
    Signed-off-by: Justin French <justin@indent.com.au>
    grimen committed with justinfrench Sep 4, 2009
  6. @grimen @justinfrench

    Made method_required? respect the :if conditional on validates_presen…

    …ce_of, and squashing a bug related to this causing all fields become required if just one field is required (issue #29). Also fixed an old incorrect string interpolation in the spec - RSpec matchers was smart enough to handle that it seems.
    
    Signed-off-by: Justin French <justin@indent.com.au>
    grimen committed with justinfrench Sep 3, 2009
  7. @grimen @justinfrench

    Fixing some issues with the specs to get them to run on Ruby 1.9.x. S…

    …pecs now runs, but most of them fails. =/
    
    Signed-off-by: Justin French <justin@indent.com.au>
    grimen committed with justinfrench Sep 1, 2009
  8. @grimen @justinfrench

    Made :input_blank default value optional through initializer config, …

    …as default blank option is not necessarily a best practice in all cases. + Added :title as alias for :name, for fieldset legends.
    
    Signed-off-by: Justin French <justin@indent.com.au>
    grimen committed with justinfrench Jul 18, 2009
  9. @grimen @justinfrench

    Added i18n_lookups_by_default-option with short description to the in…

    …itializer template.
    
    Signed-off-by: Justin French <justin@indent.com.au>
    grimen committed with justinfrench Jul 17, 2009
  10. @grimen @justinfrench

    New rake task(s) for generating initializer and stylesheets. Added fo…

    …rm generator. Removed now redundant stylesheet generator.
    
    Signed-off-by: Justin French <justin@indent.com.au>
    grimen committed with justinfrench Apr 29, 2009
  11. @grimen @justinfrench

    Updated I18n-instructions in README; on the I18n-support for fieldset…

    … titles/legends. Also clarifying some stuff.
    
    Signed-off-by: Justin French <justin@indent.com.au>
    grimen committed with justinfrench Sep 16, 2009
Commits on Sep 9, 2009
  1. @justinfrench

    Bumping gem version to address a bug with modifying i18n strings in p…

    …lace. Also includes I18n-support for fieldset legends/titles.
    justinfrench committed Sep 10, 2009
  2. @josevalim
  3. @grimen @josevalim

    Added I18n-support for fieldset legends/titles (i.e. :name/:title for…

    … inputs-builder).
    
    Signed-off-by: José Valim <jose.valim@gmail.com>
    grimen committed with josevalim Jul 18, 2009
Commits on Sep 7, 2009
  1. @justinfrench
  2. @justinfrench

    Bumping Gem version to include a bug fix where nested forms were hard…

    … coded to always use SemanticFormBuilder rather than the custom builder, if one was supplied.
    justinfrench committed Sep 7, 2009
Commits on Sep 6, 2009
  1. @justinfrench

    missed one of the hardcoded SemanticFormBuilder instances that should…

    … have been SemanticFormHelper.builder
    justinfrench committed Sep 7, 2009
  2. @justinfrench
  3. @justinfrench

    SemanticFormBuilder.semantic_fields_for now uses the builder specifie…

    …d in SemanticFormHelper.builder (configurable), rather than assuming that the builder is always SemanticFormBuilder, correcting issue #41
    justinfrench committed Sep 6, 2009
Commits on Aug 30, 2009
  1. @justinfrench
  2. @justinfrench

    Style password fields in the same way a string fields.

    Signed-off-by: Justin French <justin@indent.com.au>
    rubaidh committed with justinfrench Aug 27, 2009