Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Commits on Mar 20, 2009
  1. Cleaned up some comments

    Simon Chiu authored
  2. Added cancel option on method commit_button

    Simon Chiu authored
Commits on Mar 18, 2009
  1. @josevalim @justinfrench

    Stop objectifying options, since we are relying on FormBuilder that a…

    josevalim authored justinfrench committed
    …lready do that for us.
    
    Signed-off-by: Justin French <justin@indent.com.au>
  2. @josevalim @justinfrench

    Refactored inputs logic into one single method. Direct consequences of

    josevalim authored justinfrench committed
    this commit:
    
    1. API consistence, since most of the logic is just in one place.
    2. :input_html and :label_html are available to all inputs types.
    3. datetime_input knows better about nested attributes.
    4. input_label has API similar with Rails (method, text, options). The
    only difference is that we can now supply a fourth option, telling
    a label to be rendered as span with class label (this
    is used by radio_input and datetime_input).
    
    Signed-off-by: Justin French <justin@indent.com.au>
  3. @josevalim @justinfrench

    Refactored @@inline_order to remove if conditional inside the loop.

    josevalim authored justinfrench committed
    Signed-off-by: Justin French <justin@indent.com.au>
Commits on Mar 17, 2009
  1. @josevalim @justinfrench

    Instead of forcing an error and rescueing it, use respond_to?

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

    Added @@file_methods class variable to configure which columns should…

    josevalim authored justinfrench committed
    … be mapped to :file.
    
    Signed-off-by: Justin French <justin@indent.com.au>
  3. @josevalim @justinfrench

    Refactored select_input and radio_input to have the same collection l…

    josevalim authored justinfrench committed
    …ogic, so we can eliminate boolean_radio_input and boolean_select_input.
    
    Signed-off-by: Justin French <justin@indent.com.au>
  4. @josevalim @justinfrench

    Using self instead of template allowing autoindexes to be generated w…

    josevalim authored justinfrench committed
    …hen using nested attributes
    
    Signed-off-by: Justin French <justin@indent.com.au>
  5. @josevalim @justinfrench

    inputs accept :for_options to pass down options to wrapped semantic_f…

    josevalim authored justinfrench committed
    …ields_for.
    
    Signed-off-by: Justin French <justin@indent.com.au>
  6. @josevalim @justinfrench

    Make f.inputs return just the fieldset and not the whole template.

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

    Allow collections to be a Fixnum or an Array of Arrays.

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

    Allow options to be passed down to semantic_fields_for.

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

    Using alias instead of alias_method (since the first one is cheaper).

    josevalim authored justinfrench committed
    Signed-off-by: Justin French <justin@indent.com.au>
Commits on Mar 16, 2009
  1. @justinfrench
  2. @josevalim @justinfrench

    Added more information about inputs :for in README.

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

    Fixed comments in boolean_radio_input.

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

    Added support to :for option in inputs. This way we can simplify nest…

    josevalim authored justinfrench committed
    …ed attributes declarations.
    
    Signed-off-by: Justin French <justin@indent.com.au>
Commits on Mar 9, 2009
  1. @justinfrench
Commits on Mar 8, 2009
  1. @justinfrench
  2. @justinfrench

    README tweak

    justinfrench authored
  3. @justinfrench

    No commit message

    justinfrench authored
  4. @justinfrench
  5. @justinfrench
  6. @justinfrench
  7. @justinfrench

    fix README typo

    justinfrench authored
Commits on Mar 7, 2009
  1. @josevalim @justinfrench

    date_or_datetime_input should allow :order as an option or try to ret…

    josevalim authored justinfrench committed
    …rieve it from I18n.
    
    Signed-off-by: Justin French <justin@indent.com.au>
  2. @josevalim @justinfrench

    date_or_datetime_select now generates hidden values correctly.

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

    Now generating sanitized html ids for date and datetime selects.

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

    Downcasing values before apply them as classes or ids and added more …

    josevalim authored justinfrench committed
    …tests to radio_input.
    
    Signed-off-by: Justin French <justin@indent.com.au>
  5. @josevalim @justinfrench

    Wrapping up last changes to make radio_input work properly.

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

    Radio input uses generate_html_id (which is sanitized) in label's for…

    josevalim authored justinfrench committed
    … attribute to allow it to be used within nested attributes.
    
    Signed-off-by: Justin French <justin@indent.com.au>
  7. @josevalim @justinfrench

    Delete :true and :false from options to avoid them from being sent to…

    josevalim authored justinfrench committed
    … inputs tags.
    
    Signed-off-by: Justin French <justin@indent.com.au>
  8. @josevalim @justinfrench

    Using Yes and No (uppercased) as I18n defaults since @@label_str_meth…

    josevalim authored justinfrench committed
    …od is not :titleize anymore.
    
    Signed-off-by: Justin French <justin@indent.com.au>
Something went wrong with that request. Please try again.