diff options
Diffstat (limited to 'frontend/app/Form/Input.hs')
-rw-r--r-- | frontend/app/Form/Input.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/app/Form/Input.hs b/frontend/app/Form/Input.hs index 4b1eac8..80044ec 100644 --- a/frontend/app/Form/Input.hs +++ b/frontend/app/Form/Input.hs @@ -1,5 +1,5 @@ module Form.Input - ( string, + ( input, ) where @@ -8,8 +8,8 @@ import Form.Internal import Miso import Miso.String (fromMisoString, toMisoString) -string :: String -> Form T.Text T.Text -string label = +input :: String -> Form T.Text T.Text +input label = Form { view = \i -> [ div_ [] $ |