1
0
Fork 0
mirror of https://github.com/heartcombo/simple_form.git synced 2022-11-09 12:19:26 -05:00
Commit graph

10 commits

Author SHA1 Message Date
José Valim
94dab68cd7 Create more components. Make explicit the difference between helpers and components. Add default options to wrappers. 2011-12-04 14:57:12 +01:00
José Valim
10f2e67708 Make pattern a component. 2011-12-04 13:40:04 +01:00
José Valim
ce19f2b898 Make maxlength a component. 2011-12-04 13:14:39 +01:00
José Valim
5ee02bdd2c Make required a component. 2011-12-04 13:03:09 +01:00
José Valim
fcd049adc6 Convert disabled to a component. 2011-12-04 12:15:22 +01:00
Stephen Ingram
fd62add671 Added :readonly as f.input html option
Added the ability to specify :readonly => true to f.input. Works the
same as :disabled. The code is a clone of the code for :disabled.
2011-11-25 23:38:47 -10:00
Rafael Mendonça França
96275d6241 Extract disabled logic to a helper. Closes #317 2011-09-11 18:53:00 -03:00
José Valim
594f94afb6 Remove Helpers::HasErrors. 2011-09-08 16:04:18 +02:00
José Valim
3387cc7066 Move HasErrors to helpers. 2011-09-03 12:04:23 +02:00
José Valim
a4655ba845 Refactor Inputs::Base into helpers and make :on based on the resource status. 2011-09-03 12:00:23 +02:00