Permalink
Commits on May 20, 2009
Commits on May 17, 2009
Commits on May 16, 2009
  1. Bumped gem version to 0.1.8, which includes three major changes:

    justinfrench committed May 16, 2009
    * new check boxes input (:as => :check_boxes) as an alternative to the default multi-select for has_many and habtm associations
    
    * new country input (:as => :country), a wrapper around any plugin that provides a country_select helper with the ame API as the "official" Rails plugin
    
    * a bug fix where hidden inputs were being added as child elements of an ordered list <ol>, which is obviously poorly formed markup
Commits on May 13, 2009
  1. copy/paste fail

    justinfrench committed May 12, 2009
Commits on May 12, 2009
  1. Check boxes now return an array, but it still generate hidden fields.…

    josevalim committed May 12, 2009
    … The hidden fields are required to use Rails internal logic to mark the checkbox as checked or not which is better then reproducing the logic on our own. By default hidden fields return blank, which is automatically ignored by association_ids.
Commits on May 11, 2009
  1. Added :as => :country as a new input option (default for :string colu…

    justinfrench committed May 11, 2009
    …mns with names matching /country/).
    
    Rails doesn't come with a country_select helper by default any more, so you'll need to install the "official" plugin, or any other country_select plugin you wish that behaves in the same way.
    
    A default set of "priority countries" is always included, and can be configured (see README).
Commits on May 10, 2009
  1. Changed the way hidden inputs are handled in date/time inputs.

    justinfrench committed May 10, 2009
    Previously, we were rendering any hidden inputs inside the <ol>, which recently caused my specs to fail after a gem update (no idea which gem, it all passes for José and others).  It's probably poorly formed or invalid HTML anyway, so they've been moved outside the <ol> and surrounding <fieldset> for now, pending any better ideas.
    
    In the meantime, my specs pass.
Commits on May 9, 2009
  1. Updated documentation.

    josevalim committed May 9, 2009
  2. Some specs refactoring.

    josevalim committed May 9, 2009
  3. Add checkbox support.

    josevalim committed May 9, 2009
Commits on Apr 28, 2009
Commits on Apr 22, 2009
  1. bumped gem version

    justinfrench committed Apr 22, 2009
Commits on Apr 21, 2009
  1. Fix a bug when an error is raised if label is called with just one ar…

    josevalim authored and justinfrench committed Apr 21, 2009
    …gument.
    
    Signed-off-by: Justin French <justin@indent.com.au>
Commits on Apr 19, 2009
  1. Float all buttons instead of top align

    Greg Fitzgerald authored and justinfrench committed Apr 19, 2009
    Signed-off-by: Greg Fitzgerald <netzdamon@gmail.com>
    
    Signed-off-by: Justin French <justin@indent.com.au>
  2. whitespace fix in README

    justinfrench committed Apr 19, 2009
  3. small README typo

    justinfrench committed Apr 19, 2009
  4. Make :label part of the public API.

    josevalim authored and justinfrench committed Apr 18, 2009
    Signed-off-by: Justin French <justin@indent.com.au>
  5. Added :time_zone input information to README.

    josevalim authored and justinfrench committed Apr 18, 2009
    Signed-off-by: Justin French <justin@indent.com.au>
Commits on Apr 18, 2009
  1. Added a new input method for timezone selects:

    ramon authored and justinfrench committed Apr 12, 2009
    <% semantic_form_for(@user) do |f| %>
      <%= f.input :timezone, :as => :time_zone %>
      ...
    <% end %>
    
    Merges the following commits by Ramon Soares and José Valim:
    http://github.com/ramon/formtastic/commit/b9656eeaa1f6b361a2d31a0458603174a825c71a
    http://github.com/josevalim/formtastic/commit/0e4b90a6145373c2d43265144ba3787e78730829
    http://github.com/josevalim/formtastic/commit/1b2aff3598706c7dd79f31b814f7fe3293e849c6
    
    Signed-off-by: Justin French <justin@indent.com.au>
  2. Fixing conflicts.

    josevalim committed Apr 18, 2009
Commits on Apr 16, 2009
  1. check @object's behavior before using it; this allows formtastic to w…

    Andrew Carpenter
    Andrew Carpenter committed Apr 16, 2009
    …ork with searchlogic