aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/View/Form.elm
diff options
context:
space:
mode:
authorJoris2016-06-26 13:22:47 +0200
committerJoris2016-06-26 13:22:47 +0200
commit0dc740d8f64b31ff49b7cfb51ddc2dde7b5c121e (patch)
treefb8ac3e55677d87fb107af90a2cf62409c03b946 /src/client/elm/View/Form.elm
parent9ec84e3a20c767f6525639f58cd22715e302b88d (diff)
downloadbudget-0dc740d8f64b31ff49b7cfb51ddc2dde7b5c121e.tar.gz
budget-0dc740d8f64b31ff49b7cfb51ddc2dde7b5c121e.tar.bz2
budget-0dc740d8f64b31ff49b7cfb51ddc2dde7b5c121e.zip
Confirm before payment deletion
Diffstat (limited to 'src/client/elm/View/Form.elm')
-rw-r--r--src/client/elm/View/Form.elm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/elm/View/Form.elm b/src/client/elm/View/Form.elm
index 9b83bf7..1522b1f 100644
--- a/src/client/elm/View/Form.elm
+++ b/src/client/elm/View/Form.elm
@@ -41,7 +41,9 @@ textInput translations form formName fieldName =
[ for (formName ++ fieldName) ]
[ text (Translations.getMessage (formName ++ fieldName) translations) ]
, button
- [ onClick (Form.Input fieldName Field.EmptyField) ]
+ [ onClick (Form.Input fieldName Field.EmptyField)
+ , tabindex -1
+ ]
[ FontAwesome.times Color.silver 15 ]
, case field.liveError of
Just error -> formError translations error