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 radioField = withRadioField
(\theId optionWidget -> [whamlet| (\theId optionWidget -> [whamlet|
$newline never $newline never
<label .radio for=#{theId}-none> <div .radio>
<div> <label for=#{theId}-none>
^{optionWidget} <div>
_{MsgSelectNone} ^{optionWidget}
_{MsgSelectNone}
|]) |])
(\theId value _isSel text optionWidget -> [whamlet| (\theId value _isSel text optionWidget -> [whamlet|
$newline never $newline never
<label .radio for=#{theId}-#{value}> <div .radio>
<div> <label for=#{theId}-#{value}>
^{optionWidget} <div>
\#{text} ^{optionWidget}
\#{text}
|]) |])

View File

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