heartcombo--simple_form/lib/simple_form/action_view_extensions
Carlos Antonio da Silva 3af639660d Use the :as option to create the form css class the same way Rails does
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? =)
2011-12-04 01:39:14 -02:00
..
builder.rb Remove the double negative moving this check inside the proper method 2011-12-03 00:02:13 -02:00
form_helper.rb Use the :as option to create the form css class the same way Rails does 2011-12-04 01:39:14 -02:00