diff options
author | Joris | 2016-06-29 23:33:40 +0200 |
---|---|---|
committer | Joris | 2016-06-29 23:33:40 +0200 |
commit | ba33dfef23d070bfff92d6322808507c1b7d2814 (patch) | |
tree | 9258e6972d6110ee44d25295d6dc30bfa4113d90 /src/client/elm/Dialog/AddPaymentButton/View.elm | |
parent | 071b07463ab3f6894928b13553e98cd47c9ccb18 (diff) | |
download | budget-ba33dfef23d070bfff92d6322808507c1b7d2814.tar.gz budget-ba33dfef23d070bfff92d6322808507c1b7d2814.tar.bz2 budget-ba33dfef23d070bfff92d6322808507c1b7d2814.zip |
Responsive home page
Diffstat (limited to 'src/client/elm/Dialog/AddPaymentButton/View.elm')
-rw-r--r-- | src/client/elm/Dialog/AddPaymentButton/View.elm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/elm/Dialog/AddPaymentButton/View.elm b/src/client/elm/Dialog/AddPaymentButton/View.elm index 16616fe..585b1b7 100644 --- a/src/client/elm/Dialog/AddPaymentButton/View.elm +++ b/src/client/elm/Dialog/AddPaymentButton/View.elm @@ -62,7 +62,7 @@ addPaymentForm loggedData addPayment = ] [ htmlMap <| Form.textInput loggedData.translations addPayment "payment" "name" , htmlMap <| Form.textInput loggedData.translations addPayment "payment" "cost" - , if (Maybe.map .frequency <| Form.getOutput addPayment) == Just Punctual + , if (Form.getFieldAsString "frequency" addPayment).value == Just (toString Punctual) then htmlMap <| Form.textInput loggedData.translations addPayment "payment" "date" else text "" , htmlMap <| Form.radioInputs loggedData.translations addPayment "payment" "frequency" [ toString Punctual, toString Monthly ] |