Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on May 16, 2009
  1. Bumped gem version to 0.1.8, which includes three major changes:

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

    authored
Commits on May 12, 2009
  1. @josevalim

    Check boxes now return an array, but it still generate hidden fields.…

    josevalim authored
    … 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…

    authored
    …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.

    authored
    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. @josevalim

    Updated documentation.

    josevalim authored
  2. @josevalim

    Some specs refactoring.

    josevalim authored
  3. @josevalim

    Add checkbox support.

    josevalim authored
  4. @josevalim
  5. @josevalim
Commits on Apr 28, 2009
Commits on Apr 22, 2009
  1. bumped gem version

    authored
Commits on Apr 21, 2009
  1. @josevalim

    Fix a bug when an error is raised if label is called with just one ar…

    josevalim authored committed
    …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 committed
    Signed-off-by: Greg Fitzgerald <netzdamon@gmail.com>
    
    Signed-off-by: Justin French <justin@indent.com.au>
  2. whitespace fix in README

    authored
  3. small README typo

    authored
  4. @josevalim

    Make :label part of the public API.

    josevalim authored committed
    Signed-off-by: Justin French <justin@indent.com.au>
  5. @josevalim

    Added :time_zone input information to README.

    josevalim authored committed
    Signed-off-by: Justin French <justin@indent.com.au>
Commits on Apr 18, 2009
  1. @ramon

    Added a new input method for timezone selects:

    ramon authored committed
    <% 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. @hectoregm
  3. @josevalim

    Fixing conflicts.

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

    Andrew Carpenter authored
    …ork with searchlogic
Commits on Apr 15, 2009
  1. @josevalim
Commits on Apr 14, 2009
  1. @josevalim

    Added button_html to customize buttons.

    josevalim authored committed
    Signed-off-by: Justin French <justin@indent.com.au>
  2. @josevalim

    Ensure nested_child_index works in Rails Edge.

    josevalim authored committed
    Signed-off-by: Justin French <justin@indent.com.au>
Commits on Apr 12, 2009
  1. @josevalim
Something went wrong with that request. Please try again.