Skip to content
Commits on Dec 5, 2011
  1. @josevalim
  2. @josevalim

    Require AS dependencies.

    josevalim committed
  3. @josevalim
  4. @josevalim
  5. @josevalim

    Merge pull request #379 from plataformatec/readonly

    josevalim committed
    Add readonly component
  6. Update CHANGELOG

    Rafael Mendonça França committed
  7. Add readonly component. Closes #378

    Rafael Mendonça França committed
Commits on Dec 4, 2011
  1. Revert "Use the :as option to create the form css class the same way …

    Rafael Mendonça França committed
    …Rails does"
    
    This is a work around the Rails buggy behavior.
    See the discussion thread in the reverted commit and this related
    issue for more informations:
    rails/rails#3853
    
    This reverts commit 3af6396.
  2. Add test case for the required component

    Rafael Mendonça França committed
  3. @josevalim
  4. @josevalim

    Update generated template.

    josevalim committed
  5. @josevalim

    Make html5 a wrapper option.

    josevalim committed
  6. @josevalim
  7. @josevalim
  8. @josevalim
  9. @josevalim

    Create more components. Make explicit the difference between helpers …

    josevalim committed
    …and components. Add default options to wrappers.
  10. @josevalim

    Make pattern a component.

    josevalim committed
  11. @josevalim
  12. @josevalim

    Make maxlength a component.

    josevalim committed
  13. @josevalim

    Make required a component.

    josevalim committed
  14. @josevalim
  15. @josevalim
  16. @carlosantoniodasilva

    Use the :as option to create the form css class the same way Rails does

    carlosantoniodasilva committed
    It sounds confusing, I know, but Rails uses the :as option as prefix
    with the current action, when the option is given, otherwise it uses
    dom_class, which behaves differently. For instance, given a @user object:
    
        With :as => 'user'          => 'user_new' or 'user_edit'
        Without :as, uses dom_class => 'new_user' or 'edit_user'
    
    Weird huh? =)
  17. @carlosantoniodasilva
Commits on Dec 3, 2011
  1. simple_form_for should respect the :as option

    Rafael Mendonça França committed
  2. @carlosantoniodasilva

    Make custom field error proc method private as well

    carlosantoniodasilva committed
    Such method should not be accessible outside SimpleForm scope, it's just
    an internal helper to remove default Rails field error proc.
  3. @carlosantoniodasilva
  4. Update CHANGELOG

    Rafael Mendonça França committed
  5. @carlosantoniodasilva
  6. @rafaelfranca

    Update CHANGELOG.rdoc

    rafaelfranca committed
  7. @rafaelfranca

    Merge pull request #377 from nashby/fix-issue-360

    rafaelfranca committed
    use action prefix in form css class, closes #360
  8. @nashby
  9. @josevalim

    Update CHANGELOG.

    josevalim committed
  10. CHANGELOG

    Rafael Mendonça França committed
  11. Fix test to fit the described case

    Rafael Mendonça França committed
Something went wrong with that request. Please try again.