Timeline for answer to Use Rails’ form_for but set custom classes, attributes on <form> element? by MurifoX
Current License: CC BY-SA 4.0
Post Revisions
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 12, 2019 at 8:59 | history | edited | Alan H. | CC BY-SA 4.0 |
remove one more hash rocket in compact example
|
| Dec 17, 2015 at 4:54 | comment | added | Trantor Liu |
I found that this doesn't work: = form_for @user, :html => {'class' => 'x'} do |f|. class should be a symbol instead of string.
|
|
| Aug 8, 2014 at 6:39 | history | edited | Raj | CC BY-SA 3.0 |
added 83 characters in body
|
| Oct 30, 2012 at 21:06 | vote | accept | Alan H. | ||
| Oct 30, 2012 at 17:44 | history | answered | MurifoX | CC BY-SA 3.0 |