diff options
Diffstat (limited to 'src/client/View/Payments/Add.elm')
-rw-r--r-- | src/client/View/Payments/Add.elm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client/View/Payments/Add.elm b/src/client/View/Payments/Add.elm index c022d01..941f6b8 100644 --- a/src/client/View/Payments/Add.elm +++ b/src/client/View/Payments/Add.elm @@ -40,6 +40,7 @@ addPayment model addPayment = [ id "nameInput" , value addPayment.name , on "input" targetValue (Signal.message actions.address << UpdatePayment << UpdateAdd << UpdateName) + , maxlength 20 ] [] , label @@ -57,6 +58,7 @@ addPayment model addPayment = [ id "costInput" , value addPayment.cost , on "input" targetValue (Signal.message actions.address << UpdatePayment << UpdateAdd << UpdateCost) + , maxlength 7 ] [] , label @@ -67,8 +69,8 @@ addPayment model addPayment = div [ class "errorMessage" ] [ text error ] Nothing -> text "" - , button - [ type' "submit" ] - [ text (getMessage "Add" model.translations)] ] + , button + [ type' "submit" ] + [ text (getMessage "Add" model.translations)] ] |