Fewer newlines

This commit is contained in:
Gregor Kleen 2018-04-04 12:31:50 +02:00
parent 431adf0324
commit 951af369c8

View File

@ -256,6 +256,7 @@ zipFileField doUnpack = Field{..}
| otherwise = return . Left $ SomeMessage MsgOnlyUploadOneFile
fieldView fieldId fieldName attrs _ req = do
[whamlet|
$newline never
<input type=file ##{fieldId} *{attrs} name=#{fieldName} :req:required>
|]