Commit Graph

364 Commits

Author SHA1 Message Date
Ben Sima
56ca6d7914 Move 'addClass' to Yesod.Form.Functions and add 'removeClass'
'addClass' is more general than just Bootstrap forms. In particular, it is
copied into the yesod-form-bootstrap4 project and I found myself using it in my
custom forms. It would be useful to have it exported for use elsewhere.

I added 'removeClass' because I needed it while creating a custom 'readonly'
input in a form and thought it might be generally useful.
2018-05-11 13:23:31 -07:00
Ryan Scott
3408e1e630 Adapt to Semigroup changes in base-4.11 2018-02-04 20:09:37 -05:00
Michael Snoyman
6830a9840c
Merge branch 'better-monads' into no-transformers 2018-01-17 06:43:52 +02:00
Michael Snoyman
25acc5799b
Version bumps and changelog updates 2018-01-15 15:57:36 +02:00
Michael Snoyman
aa5b80d9f8
Merge branch 'addTypeTime2' of https://github.com/MaxGabriel/yesod into better-monads 2018-01-12 00:19:54 +02:00
Andrey Dyagel
8a0778a58a
Fix typo breaking some parsers 2017-12-22 16:15:13 +03:00
Michael Snoyman
c4ef7e1410
yesod-form version bump 2017-09-06 18:28:00 +03:00
GyuYong Jung
1569af55c7 Add Korean translation 2017-08-26 05:27:53 +09:00
Jesse Kempf
f08944d888 Give FormResult an Alternative instance 2017-08-22 22:00:42 -07:00
Sebastián Estrella
0f28604cfe Reduce verbosity using Monadic Forms 2017-08-22 02:24:26 -05:00
Michael Snoyman
a17779b12d
Fix persistent < 2.5 code 2017-07-23 16:53:12 +03:00
Michael Snoyman
ada76a9636
Revert "Always use solver on Travis"
This reverts commit 5b18bf0c09.
2017-07-23 16:45:47 +03:00
Michael Snoyman
5b18bf0c09
Always use solver on Travis 2017-07-23 16:28:58 +03:00
ncaq
e19d220f61 fixed: import Data.Monoid for old ghc 2017-06-23 12:14:28 +09:00
ncaq
33471cbb2f add changelog and version number 2017-06-22 16:32:50 +09:00
ncaq
d5eb1ce026 fixed: yesod-form: textareaField: writeHtmlEscapedChar: convert "\r\n" to "<br>" 2017-06-22 10:05:39 +09:00
Michael Snoyman
5721f65ebf
Version bumps 2017-05-14 00:24:12 +03:00
Dawei LIU
fcb1b7f6b4 Fix minor doc typo 2017-04-17 15:25:03 +02:00
rkaminsk
d8919c2c2d remove value attribute from password field (#1374)
remove value attribute from password field

Fixes https://github.com/yesodweb/yesod/issues/1373
2017-04-09 06:14:39 +05:30
mingyu guo
db9b51cdf4 Added Yesod.Form.I18n.Chinese 2017-03-28 20:59:48 +10:30
Isaac Elliott
b76d9c3090 Fixed spelling and wording for Yesod.Form.Functions.convertField's docs 2017-02-28 17:50:20 +10:00
Michael Snoyman
cdc6c8ae04 Version bumps/changelog updates 2017-02-08 11:20:31 +02:00
Michael Snoyman
aefd074efa Cleanup GHC 8 redundant constraints 2017-02-05 13:35:12 +02:00
Michael Snoyman
3dc2d10b30 Compile with -Wall -Werror 2017-02-05 12:09:18 +02:00
James Parker
d59344b78b housekeeping 2017-02-02 01:55:00 -05:00
James Parker
ef22b131f1 Fix for bug in identifyForm with empty forms. #1072 2017-01-31 16:06:40 -05:00
Michael Snoyman
10a751cdbc Version bump for #1296 2016-11-14 07:04:36 +02:00
Andrew Martin
2d6e5cea02 Added a ToValue instance for Enctype 2016-11-13 14:59:21 -05:00
Michael Snoyman
14ef94b8d1 Version bump for #1287 2016-10-24 19:42:09 +03:00
Luis Ángel Méndez Gort
161f771904 Merge branch 'master' of https://github.com/lamg/yesod 2016-10-23 15:56:35 -04:00
Luis Ángel Méndez Gort
e1d3f0ab79 Yesod.Form.I18n.Spanish added 2016-10-23 15:49:21 -04:00
Luis Ángel Méndez Gort
b1cfb3bda4 Yesod.Form.I18n.Spanish added 2016-10-21 19:08:27 -04:00
Michael Snoyman
465210d131 Version bump 2016-04-25 18:20:33 +03:00
Eric Easley
d99de61554 Use CPP to maintain backward compat 2016-04-18 10:03:39 -07:00
Eric Easley
8e71f766b5 Use PersistRecordBackend constraint synonym 2016-04-15 21:25:40 -07:00
Eric Easley
02dcb99cad Merge remote-tracking branch 'upstream/master' 2016-03-31 13:03:47 -07:00
Michael Snoyman
063cef70ee Version bump 2016-03-29 09:21:03 +03:00
Maximilian Tagher
3b9e782988 Fix W3 multiple attribute link 2016-03-28 12:33:25 -07:00
Michael Snoyman
d922bdd272 Merge pull request #1158 from geraldus/gman/summernote
Add Summernote WYSIWYG html field
2016-03-06 11:53:52 +02:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
a38564df43 Fix line ending 2016-03-04 22:07:18 +05:00
Arthur Fayzrakhmanov (Артур Файзрахманов)
fe2b6844b6 Add notice about Summernote 2016-03-04 22:07:06 +05:00
Michael Snoyman
5709040dcd Add some docs for MassInput 2016-03-02 11:05:19 +02:00
Maximilian Tagher
d39ce44c21 Use defaultCsrfParamName instead of hard-coding its value
* Up version bounds so that `defaultCsrfParamName` is available.
* I didn't bump the yesod-form version. It seemed unnecessary to do a new release just for this.
2016-02-15 23:59:24 -08:00
Eric Easley
1dea0ef5b1 Adjust yesod-form for split DB 2016-02-07 19:15:57 -08:00
vlatkoB
a6e11245cf Fix var name to croatianFormMessage 2016-01-20 09:47:28 +01:00
vlatkoB
1fca3ceea3 Croatian translation 2016-01-20 08:48:15 +01:00
silky
6ec02a917f Add error class when help text is an error. 2015-12-23 16:00:37 +11:00
mrkkrp
b8949f4970 Fix a typo in Russian translation of form messages 2015-12-07 15:54:40 +06:00
Michael Snoyman
3dbf4b6fad Update changelog 2015-12-03 20:55:37 +02:00
Andrew Martin
a2f4cc41fd Add Functor instance for Option and OptionList 2015-10-27 11:28:40 -04:00