aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/LoggedIn/Home/View/Search.elm
diff options
context:
space:
mode:
authorJoris2016-06-19 01:00:53 +0200
committerJoris2016-06-19 01:00:53 +0200
commitfb5629d7f705b7e80dcf1852da58d2864c2b0d25 (patch)
treee9e0d0db119b6f7c2b240226f03ff2d6218070ed /src/client/elm/LoggedIn/Home/View/Search.elm
parent9716f77d14ef43f96a1534d97bb9d336df1882be (diff)
downloadbudget-fb5629d7f705b7e80dcf1852da58d2864c2b0d25.tar.gz
budget-fb5629d7f705b7e80dcf1852da58d2864c2b0d25.tar.bz2
budget-fb5629d7f705b7e80dcf1852da58d2864c2b0d25.zip
Show payment count and sum right after search
Diffstat (limited to 'src/client/elm/LoggedIn/Home/View/Search.elm')
-rw-r--r--src/client/elm/LoggedIn/Home/View/Search.elm26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/client/elm/LoggedIn/Home/View/Search.elm b/src/client/elm/LoggedIn/Home/View/Search.elm
deleted file mode 100644
index 62db1b2..0000000
--- a/src/client/elm/LoggedIn/Home/View/Search.elm
+++ /dev/null
@@ -1,26 +0,0 @@
-module LoggedIn.Home.View.Search exposing
- ( paymentsSearch
- )
-
-import Html exposing (..)
-import Html.Attributes exposing (..)
-import Html.Events exposing (..)
-import Html.App as Html
-
-import Form exposing (Form)
-import View.Form as Form
-
-import Msg exposing (Msg)
-import LoggedIn.Msg as LoggedInMsg
-import LoggedIn.Home.Msg as HomeMsg
-
-import LoggedData exposing (LoggedData)
-import LoggedIn.Home.Model as HomeModel
-import Model.Translations exposing (getMessage)
-
-paymentsSearch : LoggedData -> HomeModel.Model -> Html Msg
-paymentsSearch loggedData { search } =
- let htmlMap = Html.map (Msg.UpdateLoggedIn << LoggedInMsg.HomeMsg << HomeMsg.SearchMsg)
- in Html.div
- [ class "search" ]
- [ Form.textInput loggedData.translations search htmlMap "searchText" ]