Maximilian Tagher
2d31b3155d
Improves code formatting
...
* Fixes bug where @<button>@ was being treated as a Haskell function reference
* Uses '<*' instead of @<*@, since <* is a Haskell function (though this doesn't appear to make the link work)
2014-11-22 17:23:12 -08:00
Maximilian Tagher
f4e8ac9496
Fix usages of bootstrapSubmit
2014-11-22 17:04:48 -08:00
Maximilian Tagher
f84e9703ed
Revision 1 of Bootstrap 3 documentation
2014-11-22 16:27:23 -08:00
Maximilian Tagher
5038bea627
Document Yesod.Form.Bootstrap3
2014-11-21 20:17:55 -08:00
Rutger
76e19207cc
Adds dutch form translations
2014-11-11 16:12:26 +01:00
Michael Snoyman
8a6b4f4523
Yesod.Form.Input cleanup/documentation
2014-10-21 09:08:51 +03:00
Michael Snoyman
dfd059165d
Version bump
2014-10-13 09:40:27 +03:00
Maximilian Tagher
dd6a184052
Allow textareaFields to have a required attribute
...
(Just like `htmlField` does)
2014-10-10 18:07:33 -07:00
Michael Snoyman
9d0d48afd6
Version bump
2014-10-01 14:50:57 +03:00
Michael Snoyman
8a09a3181e
Revert "`required' attribute for nicHtmlField (textfield tag)"
...
This reverts commit d4175f11cc .
2014-10-01 14:47:42 +03:00
Michael Snoyman
fe940598e1
Add Nic to hello-forms
2014-10-01 14:47:35 +03:00
Michael Snoyman
def48d8a45
Version bumps for 1.4 release
2014-09-21 11:41:37 +03:00
Michael Snoyman
f86d181377
Merge branch 'master' into yesod-1.4
2014-09-21 00:07:11 +03:00
Michael Snoyman
c629cba207
Version bump
2014-09-20 23:34:38 +03:00
João Cristóvão
13bc55969a
Added convertField function to ease the generation of new fields
2014-09-17 18:08:06 +01:00
Michael Snoyman
ccab062f2d
Remove all conditional compilation for Yesod 1.4 release
...
Left in for GHC-bundled libraries (ghc, base, bytestring, binary)
2014-09-07 18:17:45 +03:00
Michael Snoyman
598e570913
Remove deprecated packages
2014-09-07 17:41:09 +03:00
Michael Snoyman
2187c0cf8d
Add required to textareaField ( fixes #817 )
2014-09-01 07:19:15 +03:00
Michael Snoyman
3478841d15
Add required to textareaField ( fixes #817 )
2014-09-01 07:18:42 +03:00
Michael Snoyman
9471399589
Merge branch 'master' into yesod-1.4
2014-08-28 05:19:21 +03:00
Michael Snoyman
d6b3d2a890
conduit 1.2 version bumps
2014-08-27 18:01:02 +03:00
Michael Snoyman
8b2297adf4
Conditional support for persistent2 branch.
...
Pinging @gregwebs. I've backported the relevant tweaks on the yesod-1.4
branch, to allow master to compile against persistent2. Whenever you're
ready to release persistent2, we can:
1. Release persistent2.
2. Release new versions of yesod packages, which will work with
persistent 1.3 and 2.0.
3. Add an upper bound in Stackage to avoid using the new persistent
libraries until they're ready for primetime.
4. Release your blog post.
yesod-1.4 should then remove the CPP here and only work with
persistent2; the biggest "breaking change" in the 1.4 release will be
remove backwards compatibility hacks for persistent, conduit,
shakespeare, and wai.
2014-08-27 11:16:08 +03:00
Michael Snoyman
a13ebd3fa8
Some merge resolution
2014-08-25 21:20:27 +03:00
Michael Snoyman
c66ef04f17
Merge branch 'master' into yesod-1.4
...
Conflicts:
yesod-form/Yesod/Form/Functions.hs
2014-08-25 20:20:16 +03:00
Michael Snoyman
2ad3227776
Version bumps
2014-08-20 17:54:46 +03:00
Michael Snoyman
17016f8427
Merge branch 'master' of github.com:yesodweb/yesod
2014-08-20 16:46:21 +03:00
Dunric
d4175f11cc
`required' attribute for nicHtmlField (textfield tag)
2014-08-20 01:53:59 +02:00
Michael Snoyman
a2d118e236
network/network-uri split
2014-08-16 23:02:32 +03:00
Michael Snoyman
9726f9c59f
Version bump
2014-08-06 14:03:53 +03:00
Michael Snoyman
1959ec7aae
jqueryAutocmpleteField' #793
2014-08-04 12:29:35 +03:00
Michael Snoyman
7f5ed740a9
renderBootstrap2
2014-07-30 11:52:04 +03:00
Michael Snoyman
b33650551e
Version bump
2014-07-26 22:16:37 +03:00
Michael Snoyman
73204a0620
Merge pull request #784 from geraldus/form-i18n-ru-temp
...
Basic form i18n for Russian Language
2014-07-26 22:10:48 +03:00
Артур Файзрахманов
99484ab894
Fixed cabal file
...
Added Russian form translation as exposed module in .cabal
2014-07-27 01:08:39 +06:00
Michael Snoyman
6a09bc3406
Version bumps
2014-07-26 21:53:26 +03:00
Michael Snoyman
e6eae8ee5a
Merge remote-tracking branch 'origin/master' into yesod-1.4
...
Conflicts:
yesod-routes/Yesod/Routes/Parse.hs
yesod-routes/test/Hierarchy.hs
yesod-routes/yesod-routes.cabal
2014-07-26 21:20:31 +03:00
Артур Файзрахманов
09ecf9e211
Corrected ValueRequired translation
2014-07-26 07:36:58 +06:00
Артур Файзрахманов
d6b24510ea
Fixed function name
...
Sorry friends, I’m so inattentive!
2014-07-26 07:26:11 +06:00
Артур Файзрахманов
10524fdd82
Fixed typo in module name
2014-07-26 07:19:50 +06:00
Артур Файзрахманов
1d28ac42b9
Basic form i18n for Russian Language
...
Some of translations maybe need to be discussed, because of some
translations are not literal.
2014-07-25 21:48:42 +06:00
Michael Snoyman
99621c17b0
Generate valid HTML from renderTable
2014-07-24 10:45:06 +03:00
Michael Snoyman
027dfa9d91
Miss qualified function usage
2014-07-24 10:28:23 +03:00
Michael Snoyman
2d54a5df13
Don't ignore leftovers in parsing #780
2014-07-24 10:21:06 +03:00
Michael Snoyman
9a583e5af3
Version bumps
2014-06-18 06:59:23 +03:00
Axel Angel
bfe0b2867a
Adapt generateFormGet to follow the post variant (deprecate non-prime)
...
To stay backward compatible, we fix this in generateFormGet'
From discussion:
https://groups.google.com/forum/#!topic/yesodweb/lWKFzJDOnnY
2014-06-15 20:30:18 +02:00
Michael Snoyman
b93a5d1993
Merge branch 'master' into yesod-1.4
...
Conflicts:
yesod-core/test/YesodCoreTest/CleanPath.hs
yesod-persistent/yesod-persistent.cabal
2014-06-09 11:22:30 +03:00
Michael Snoyman
4158353070
Merge remote-tracking branch 'origin/master' into yesod-1.4
2014-06-05 15:13:15 +03:00
Michael Snoyman
0d599e463a
Version bumps
2014-06-05 06:05:47 +03:00
Michael Snoyman
0a3ae4ef66
Merge remote-tracking branch 'origin/master' into yesod-1.4
2014-06-01 16:12:36 +03:00
Michael Snoyman
08f796fc58
Version bumps
2014-05-27 12:48:03 +03:00
Tad Doxsee
59ded9e2b5
doubleField may add a zero to some text before sending it to Data.Text.Read so that text such as '.3' may be read as 0.3.
2014-05-23 11:18:18 -07:00
Michael Snoyman
96e59947eb
Add ToJSON and FromJSON for Textarea ( fixes #738 )
2014-05-13 09:08:44 +03:00
Michael Snoyman
c8f7e34b2f
Merge pull request #731 from andrewthad/master
...
Fix starting field number
2014-05-09 18:28:07 +03:00
andrewthad
9f379bc219
Fix starting field number
...
This commit makes starts the counter as `IntSingle 0` instead of `IntSingle 1`. This is needed because `newFormIdent` yield the incremented state value. Meaning: right now, all of my forms start at f2 instead of f1. This commit will make them start at f1 like I would expect them to.
2014-05-06 09:34:56 -04:00
Michael Snoyman
098bff53ec
Lower bound on hamlet-1.1.8 for yesod-form #727
2014-04-30 07:40:54 +03:00
Michael Snoyman
c9378af060
Strip a bound
2014-04-18 14:36:17 +03:00
Michael Snoyman
fe622d5345
Merge remote-tracking branch 'origin/master' into yesod-1.4
...
Conflicts:
yesod-auth/yesod-auth.cabal
yesod-form/Yesod/Form/Fields.hs
yesod-form/yesod-form.cabal
yesod-persistent/Yesod/Persist/Core.hs
2014-04-18 14:33:54 +03:00
Michael Snoyman
ad4ab651b4
renderBootstrap2
2014-04-09 21:59:06 +03:00
Michael Snoyman
3f4a870b86
Workaround for GHC 7.8.1 regression
2014-04-09 20:49:03 +03:00
Michael Snoyman
d764464152
conduit 1.1
2014-03-27 16:38:52 +02:00
Michael Snoyman
827b1d4bd2
Merge remote-tracking branch 'origin/master' into persistent2-simpler-dispatch
2014-03-20 20:38:14 +02:00
Michael Snoyman
0774864877
Use pure in an example
2014-03-20 12:09:24 +02:00
Michael Snoyman
24e8e53f64
Merge remote-tracking branch 'origin/master' into persistent2-simpler-dispatch
...
Conflicts:
.gitignore
yesod-core/yesod-core.cabal
2014-03-20 04:14:09 +02:00
Vincent Hanquez
8d07d1fa72
Use const time equality from byteable instead of crypto-api
2014-03-18 08:29:47 +00:00
Satoshi Nakamura
09caea1e49
Remove an extra backslash
2014-03-17 19:35:51 +09:00
Felipe Lessa
969496b9f1
Golf around on identifyForm :).
2014-03-12 11:32:46 -03:00
Felipe Lessa
3d2253d5d3
Typo.
2014-03-12 11:23:32 -03:00
Felipe Lessa
68d0142dda
New identifyForm function ( fixes #649 ).
...
Based on code from @axel-angel but rewritten in a more lightweight
style (IMHO, at least :).
2014-03-12 11:20:31 -03:00
Felipe Lessa
a7a7764c97
Do not display FormFailures as they contain duplicates of field failures.
2014-03-12 10:27:46 -03:00
Felipe Lessa
51fbc2a57b
Use correct error classes on Bootstrap3 module.
2014-03-12 10:14:04 -03:00
Felipe Lessa
e44b93083a
Smarter with{Small,Large}Input, do not override existing classes.
2014-03-11 17:45:59 -03:00
Felipe Lessa
4366dbc05f
Bump yesod-form to version 1.3.8.
2014-03-11 17:10:54 -03:00
Felipe Lessa
59402da412
Deprecate the original renderBootstrap.
2014-03-11 17:09:27 -03:00
Felipe Lessa
12a527a9d5
New Yesod.Form.Bootstrap3 module.
...
The original renderBootstrap code was heavily modified by
Mladen Srdic [1]. I took his code and modified it as well,
and the result is this commit.
[1] https://www.fpcomplete.com/user/msrdic/bootstrap-3-forms-with-yesod-1
2014-03-11 17:08:41 -03:00
Michael Snoyman
43eb8d83f0
Update hello-forms to use multi email field
2014-03-09 18:56:25 +02:00
Toby Goodwin
e2a6ef31ed
eschew fromJust, better error reporting
2014-03-09 16:20:39 +00:00
Toby Goodwin
1acd48079c
improve error handling to report particular errs
2014-03-07 18:57:29 +00:00
Toby Goodwin
010ecffa1b
implement multiEmailField
2014-03-07 18:28:35 +00:00
Michael Snoyman
bcff12bed1
parseHelperGen
2014-03-05 06:59:57 +02:00
Michael Snoyman
84baab6fb5
Merge remote-tracking branch 'origin/simpler-dispatch' into persistent2-simpler-dispatch
2014-03-04 13:47:21 +02:00
Michael Snoyman
12ddec8b8c
Fix pure for AForm #672
2014-02-26 07:54:01 +02:00
Michael Snoyman
480b4e3304
Some fixes for mass input
2014-02-10 11:24:20 +02:00
Michael Snoyman
37a2aba25c
Version bump
2014-02-02 18:45:29 +02:00
Michael Snoyman
cdfd478fcd
Factor out some duplicated code
2014-01-31 13:15:05 +02:00
Elise Huard
a417b95a98
runInputPostResult is the modified method
2014-01-31 10:45:43 +01:00
Elise Huard
12897ae5a0
Defer error handling of runInputForm to user code.
2014-01-30 15:28:56 +01:00
Michael Snoyman
b88308720f
step= for int and double fields
2014-01-21 22:52:18 +02:00
Michael Snoyman
db096471ca
persistent2
2014-01-16 08:23:50 +02:00
Michael Snoyman
1479f44f82
Version bumps
2014-01-16 07:46:27 +02:00
Ilya Smelkov
d500468b8d
Change doubleField type from text to number
2014-01-13 23:27:22 +04:00
Michael Snoyman
b018c5d7aa
Allow persistent 1.3
2013-12-26 12:13:10 +02:00
Michael Snoyman
8376f4da9e
Revert "Update Functions.hs"
...
This reverts commit 78913a2cfb .
2013-12-22 16:29:12 +02:00
Michael Snoyman
c5a59a98d4
Merge pull request #635 from andrewthad/master
...
Update Functions.hs
2013-12-21 10:02:22 -08:00
andrewthad
78913a2cfb
Update Functions.hs
...
Generalize parseHelper to work with types of messages other than FormMessage.
2013-12-20 12:01:55 -05:00
Michael Snoyman
6f68aa46ff
Version bump
2013-12-13 08:24:18 +02:00
Michael Snoyman
d8bdcae2d5
Add required attribute for radio fields and selects #628
2013-12-11 18:56:48 +02:00
Michael Snoyman
294641c404
Version bumps
2013-11-10 07:48:01 +02:00
Michael Snoyman
ad6e99d589
GHC 7.8 changes
2013-10-15 10:30:05 +03:00
Michael Snoyman
2e7694d465
Version bump
2013-10-13 18:40:17 +03:00
Axel Angel
0dcc9e2b29
Simplify in checkboxesField{,List}: no intermediate selOpts list
2013-09-22 15:08:21 +02:00