blob: 6878e6892144cdbb1f286656788005da52ff0171 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
module Component.Form
( view
) where
import qualified Data.Map as M
import Reflex.Dom (MonadWidget)
import qualified Reflex.Dom as R
view :: forall t m a. MonadWidget t m => m a -> m a
view content =
R.elAttr "form" (M.singleton "onsubmit" "event.preventDefault()") $
content
|