Fix according to Bootstrap 3 docs

This commit is contained in:
Yuriy Syrovetskiy 2022-10-05 20:16:12 +02:00
parent 5ac0138697
commit b841e8cf0b
2 changed files with 21 additions and 19 deletions

View File

@ -534,17 +534,19 @@ radioField :: (Eq a, RenderMessage site FormMessage)
radioField = withRadioField
(\theId optionWidget -> [whamlet|
$newline never
<label .radio for=#{theId}-none>
<div>
^{optionWidget}
_{MsgSelectNone}
<div .radio>
<label for=#{theId}-none>
<div>
^{optionWidget}
_{MsgSelectNone}
|])
(\theId value _isSel text optionWidget -> [whamlet|
$newline never
<label .radio for=#{theId}-#{value}>
<div>
^{optionWidget}
\#{text}
<div .radio>
<label for=#{theId}-#{value}>
<div>
^{optionWidget}
\#{text}
|])

View File

@ -1,6 +1,6 @@
cabal-version: >= 1.10
name: yesod-form
version: 1.7.2
version: 1.7.3
license: MIT
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>