Commit Graph

16 Commits

Author SHA1 Message Date
Greg Weber
59486dcc77 add field type of search with autoFocus
technically autoFocus could go on any field.
Actually, it could only go on one field of a form.
I would assume it always goes on the first non-hiden field
2010-12-13 22:51:58 +02:00
Michael Snoyman
d15368065f passwordField 2010-11-22 07:47:53 +02:00
Michael Snoyman
92ab8ee889 GHC 7 support.
GHC 7 changes the syntax for quasi-quotation. A later patch release
(7.0.2) should be adding back backwards-compatibility with the old
syntax, but in the meanwhile this (relatively ugly) hack should fix it.
2010-11-19 11:10:17 +02:00
Michael Snoyman
82bab0c084 fileField and maybeFileField 2010-11-05 09:25:59 +02:00
Michael Snoyman
17cb10c312 Major renaming of widget functions 2010-10-26 15:57:04 +02:00
Michael Snoyman
c29f5af95c Support for free-forms
This adds a whole bunch of polymorphism to the forms library, and opens
up a monad approach which exposes the FieldInfos generated. This allows
you to layout your form however you want without mucking around with
guessing the location of the fieldinfos in a list.
2010-10-26 15:57:03 +02:00
Matt Brown
6119f8507e added fiRequired :: Bool to FieldInfo 2010-10-26 15:56:40 +02:00
Michael Snoyman
fd53c60fc9 Removed fiName 2010-10-12 13:28:06 +02:00
Michael Snoyman
4451378c5d maybeIntInput 2010-10-10 13:05:06 +02:00
Michael Snoyman
b13c08f001 Revert "EscapedHtml"
This reverts commit d7832b0535.
2010-09-20 07:26:34 +02:00
Michael Snoyman
d7832b0535 EscapedHtml 2010-09-15 11:44:42 +02:00
Michael Snoyman
d55c78dc19 Minor bug fixes 2010-09-02 00:56:14 +03:00
Michael Snoyman
adc8a8cf63 Textarea 2010-08-18 07:06:13 +03:00
Michael Snoyman
bca6317490 GForm uses ReaderT 2010-08-16 14:48:38 +03:00
Michael Snoyman
c7ac7f191c Minor rearranging and renaming 2010-08-13 16:24:51 +03:00
Michael Snoyman
2a19d1a4e8 Split Yesod.Form into subfiles 2010-08-13 16:11:22 +03:00