diff options
author | Joris | 2016-06-25 15:10:03 +0200 |
---|---|---|
committer | Joris | 2016-06-25 22:09:04 +0200 |
commit | 70720548c9af024dbb6080638ac8e5470c2213eb (patch) | |
tree | a149bd6d8f1448de11ac4b0b41c52bc82052035a /src/client/elm/View.elm | |
parent | 4ce4de89a5400b0d8b9cddaa2922901a081fdaaa (diff) |
Use the search to view either punctual or monthly payments
Diffstat (limited to 'src/client/elm/View.elm')
-rw-r--r-- | src/client/elm/View.elm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/client/elm/View.elm b/src/client/elm/View.elm index 4e97472..6953816 100644 --- a/src/client/elm/View.elm +++ b/src/client/elm/View.elm @@ -12,7 +12,7 @@ import Model.View exposing (..) import LoggedData import Dialog -import View.Header exposing (renderHeader) +import View.Header as Header import SignIn.View as SignInView import LoggedIn.View as LoggedInView @@ -23,13 +23,13 @@ view : Model -> Html Msg view model = div [] - [ renderHeader model - , renderMain model - , Dialog.view model.view model.dialog + [ Header.view model + , mainView model + , Dialog.view model.dialog ] -renderMain : Model -> Html Msg -renderMain model = +mainView : Model -> Html Msg +mainView model = case model.view of SignInView signIn -> SignInView.view model signIn |