Commit Graph

69 Commits

Author SHA1 Message Date
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
2cefc3c2a7 Form minor changes, setMessage not polymorphic 2010-08-15 11:23:46 +03:00
Michael Snoyman
476926cb68 Added checkForm 2010-08-15 01:02:15 +03:00
Michael Snoyman
a609f2d046 Remove need to mapFormXml externally 2010-08-13 16:28:17 +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
Michael Snoyman
280aa5d543 Foundations for multiForm.
Instead of a single integer, we store a list of integers in a form. This
allows nesting. Now there are some auxilary functions for nesting level
manipulation, as well as a Monoid instance for FormResult.
2010-08-13 15:39:15 +03:00
Michael Snoyman
95392aba0a Minor code cleanup 2010-08-13 15:38:24 +03:00
Michael Snoyman
cc102b67d9 IsString instance for FormFieldSettings 2010-08-13 15:31:42 +03:00
Michael Snoyman
1a273387d6 Added urlField 2010-08-12 11:41:18 +03:00
Michael Snoyman
02fd6bfffd Removed blaze-html 2010-08-09 16:59:25 +03:00
Michael Snoyman
faf2669d63 Added textarea and hidden (hidden needs work) 2010-08-04 17:36:10 +03:00
Michael Snoyman
46be96e6c2 Split jquery and nic code into separate modules 2010-07-26 15:55:35 +03:00
Michael Snoyman
9392665491 getSuperclass is part of toFormField 2010-07-26 15:38:39 +03:00
Michael Snoyman
257bad8874 Fixed reversed id and name 2010-07-26 14:42:41 +03:00
Michael Snoyman
50fa02953e Some convenience functions and bugfixes 2010-07-26 12:47:42 +03:00
Michael Snoyman
74e1c8cbf9 superclass in mkToForm 2010-07-26 12:18:57 +03:00
Michael Snoyman
1c6f8fb46c FormFieldSettings 2010-07-26 12:01:18 +03:00
Michael Snoyman
55e4771104 Fixed bug in boolInput 2010-07-24 22:34:08 +03:00
Michael Snoyman
e6dc40d582 Fixed auth module 2010-07-22 13:03:07 +03:00
Michael Snoyman
0db163aea8 ToForm and ToFormField take master site param 2010-07-22 12:27:26 +03:00
Michael Snoyman
71c8355698 URL settings in Yesod typeclass 2010-07-22 07:25:36 +03:00
Michael Snoyman
4b2b14e3ac Added intInput 2010-07-21 09:41:45 +03:00
Michael Snoyman
2391995622 URLs are modifiable via IORefs 2010-07-21 08:18:34 +03:00
Greg Weber
83057e1a5f add jqueryDayTimeField for a datetime field widget 2010-07-20 13:33:49 -07:00
Michael Snoyman
d4333814f7 Parsing toFormField attribute, dropping Form newtype wrappers 2010-07-20 22:14:07 +03:00
Greg Weber
8ca2f3e2b4 derive standard classes for JqueryDay field 2010-07-16 11:20:57 -07:00
Michael Snoyman
db7dfcbefd Added Html' and get404 2010-07-13 11:17:25 +03:00
Michael Snoyman
d8ece1db78 Updated documentation 2010-07-13 09:36:20 +03:00
Michael Snoyman
d5704fb65d E-mail validation via email-validate 2010-07-11 10:12:33 +03:00
Michael Snoyman
93d71a4779 Added email field 2010-07-11 10:05:05 +03:00
Michael Snoyman
9f75a77fcc Unwrapped type for jqueryDayField et al 2010-07-10 22:15:24 +03:00
Michael Snoyman
0f1378a013 Widgets only create script and style tags when necessary 2010-07-10 21:56:35 +03:00
Michael Snoyman
d6509266f4 Fix optionalFieldHelper 2010-07-07 17:20:24 +03:00
Michael Snoyman
2a71c7ab9b Unified fields and inputs 2010-07-07 07:12:04 +03:00
Michael Snoyman
9fde607bd8 Fancy form widgets 2010-07-07 06:21:32 +03:00
Michael Snoyman
5354c03a2c Autocomplete form widget 2010-07-06 22:36:20 +03:00
Michael Snoyman
5d8ee5e7fb Renamed Routes to Route 2010-07-06 20:17:00 +03:00
Michael Snoyman
ef7d27df7c Renamings in Form 2010-07-06 10:42:58 +03:00
Michael Snoyman
af46ece3ed Hamlet adds ToHtml typeclass 2010-07-06 09:15:55 +03:00
Michael Snoyman
55e0af467d Added JqueryDay and NicHtml newtypes 2010-07-06 09:14:18 +03:00
Michael Snoyman
6d05c9ec30 Specify label and tooltip in field attributes 2010-07-05 22:43:41 +03:00
Michael Snoyman
c71821a5c9 Added time field 2010-07-04 08:21:41 +03:00
Michael Snoyman
2289400d7a Hamlet html-angle-brackets change 2010-07-04 01:28:15 +03:00
Michael Snoyman
56240984f3 A bunch of minor additions for forms 2010-07-02 13:36:45 +03:00
Michael Snoyman
879d5657ba Remove old content from Form module 2010-07-02 09:22:15 +03:00
Michael Snoyman
65d8e2febd Added blog sample 2010-07-02 09:19:26 +03:00
Michael Snoyman
f2e71a6c00 htmlField and fixed auth 2010-07-02 07:18:39 +03:00
Michael Snoyman
d8fca59025 Semi-working forms based on widgets
Cool feature: automatically include a Javascript library for a
datepicker when you need a day field.
2010-07-01 22:16:56 +03:00