Remove upload meta form for anonymous uploads

Closes: #758
This commit is contained in:
Eike Kettner 2021-05-22 21:32:54 +02:00
parent f88f299613
commit d7bbbd2f96

View File

@ -38,7 +38,11 @@ viewContent texts mid _ _ model =
[ div [ class "container mx-auto" ]
[ div [ class "px-0 flex flex-col" ]
[ div [ class "py-4" ]
[ renderForm texts model
[ if mid == Nothing then
renderForm texts model
else
span [ class "hidden" ] []
]
, div [ class "py-0" ]
[ Html.map DropzoneMsg