Permalink
Commits on Apr 3, 2009
Commits on Apr 2, 2009
  1. use already in-place datetime.prompts for translating datetime relate…

    …d labels
    
    Signed-off-by: Justin French <justin@indent.com.au>
    sprsquish committed with Apr 2, 2009
  2. Add documenation for :input_html

    Signed-off-by: Justin French <justin@indent.com.au>
    Greg Fitzgerald committed with Mar 31, 2009
  3. Allow options checked_value and unchecked_value to be sent when deali…

    …ng with checkbox.
    
    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 31, 2009
  4. Ensure that only belongs_to associations are loaded by default.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 31, 2009
  5. Simplifying default_input_type arguments.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 31, 2009
  6. Deprecated :boolean_select and :boolean_radio

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 31, 2009
  7. Giving more love to radio inputs: allow them to work with arrays of f…

    …ixnums or symbols and mark the input as checked if it is the existing choice.
    
    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 31, 2009
  8. More tweaks to allow forms with non model objects.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 31, 2009
  9. Simplifying input_label.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 31, 2009
Commits on Mar 29, 2009
Commits on Mar 27, 2009
  1. Added nested child nindex support.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 24, 2009
  2. Remove label_html options since it is incomplete.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 23, 2009
  3. Specs for formtastic working deliciously without objects

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 23, 2009
  4. Refatored collections tests. Since radio and select rely on the same …

    …logic for boolean and belongs_to association, we put together some duplicated tests.
    
    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 23, 2009
  5. Updated README with @@label_str_methods and new I18n.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 23, 2009
  6. Cleaning up specs before adding more specs.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 23, 2009
  7. Removed old @@label_str_methods

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 23, 2009
  8. Removing places where @@label_str_method appears.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 23, 2009
  9. Another README fix.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 23, 2009
Commits on Mar 24, 2009
  1. keep the created/update_at/on columns from being automatically shown …

    …(Thanks to Jeff Smick)
    committed Mar 24, 2009
Commits on Mar 22, 2009
  1. Fixed nested attributes example in README

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 22, 2009
  2. Simplified specs from input_mappings and added tests to input_html an…

    …d label_html.
    
    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 21, 2009
  3. Fixed small bug when label_html is sent.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 21, 2009
  4. Downcase prefixes before sending them to I18n

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 21, 2009
Commits on Mar 20, 2009
  1. Upcased the prefix in save_or_create_commit_button_text method

    Signed-off-by: Justin French <justin@indent.com.au>
    Simon Chiu committed with Mar 20, 2009
Commits on Mar 18, 2009
  1. Stop objectifying options, since we are relying on FormBuilder that a…

    …lready do that for us.
    
    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 17, 2009
  2. Refactored inputs logic into one single method. Direct consequences of

    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>
    josevalim committed with Mar 17, 2009
  3. Refactored @@inline_order to remove if conditional inside the loop.

    Signed-off-by: Justin French <justin@indent.com.au>
    josevalim committed with Mar 17, 2009