fixed small errors
This commit is contained in:
parent
1e41b779bd
commit
4933d54aae
2 changed files with 4 additions and 4 deletions
|
@ -189,13 +189,13 @@ getUploadR = do
|
||||||
if
|
if
|
||||||
I.null albums
|
I.null albums
|
||||||
then do
|
then do
|
||||||
|
setMessage "Please create an album first"
|
||||||
|
redirect NewAlbumR
|
||||||
|
else do
|
||||||
(uploadWidget, enctype) <- generateFormPost (bulkUploadForm userId)
|
(uploadWidget, enctype) <- generateFormPost (bulkUploadForm userId)
|
||||||
formLayout $ do
|
formLayout $ do
|
||||||
setTitle "Eidolon :: Upload Medium"
|
setTitle "Eidolon :: Upload Medium"
|
||||||
$(widgetFile "bulkUpload")
|
$(widgetFile "bulkUpload")
|
||||||
else do
|
|
||||||
setMessage "Please create an album first"
|
|
||||||
redirect NewAlbumR
|
|
||||||
Nothing -> do
|
Nothing -> do
|
||||||
setMessage "You need to be logged in"
|
setMessage "You need to be logged in"
|
||||||
redirect LoginR
|
redirect LoginR
|
||||||
|
|
Loading…
Reference in a new issue