aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/View/Form.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/View/Form.elm')
-rw-r--r--src/client/elm/View/Form.elm8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/elm/View/Form.elm b/src/client/elm/View/Form.elm
index 5f642fb..dcde47d 100644
--- a/src/client/elm/View/Form.elm
+++ b/src/client/elm/View/Form.elm
@@ -40,7 +40,7 @@ textInput translations form formName fieldName =
]
, label
[ for (formName ++ fieldName) ]
- [ text (Translations.getMessage (formName ++ fieldName) translations) ]
+ [ text (Translations.getMessage translations (formName ++ fieldName)) ]
, button
[ type' "button"
, onClick (Form.Input fieldName Field.EmptyField)
@@ -63,7 +63,7 @@ radioInputs translations form formName radioName fieldNames =
]
[ div
[ class "title" ]
- [ text (Translations.getMessage (formName ++ radioName) translations) ]
+ [ text (Translations.getMessage translations (formName ++ radioName) ) ]
, div
[ class "radioInputs" ]
(List.map (radioInput translations field formName) fieldNames)
@@ -85,7 +85,7 @@ radioInput translations field formName fieldName =
]
, label
[ for (formName ++ fieldName) ]
- [ text (Translations.getMessage (formName ++ fieldName) translations)
+ [ text (Translations.getMessage translations (formName ++ fieldName))
]
]
@@ -94,7 +94,7 @@ formError translations error =
let errorElement error params =
div
[ class "errorMessage" ]
- [ text (Translations.getParamMessage params error translations) ]
+ [ text (Translations.getParamMessage params translations error) ]
in case error of
CustomError key -> errorElement key []
SmallerIntThan n -> errorElement "SmallerIntThan" [toString n]