summaryrefslogtreecommitdiff
path: root/elm/Lib
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-02-28 13:08:12 +0100
committerYorhel <git@yorhel.nl>2020-02-28 13:08:12 +0100
commit21c6963e2747990c0b7a0c82f3209a6942650d50 (patch)
treeb7e05ba1ce98dbea00a1e27f1d20e934425fb663 /elm/Lib
parentccc121634fec7d7aa3a36564eeab2330e543e970 (diff)
Elm/form styling: Use buttons instead of links for "remove" action
Diffstat (limited to 'elm/Lib')
-rw-r--r--elm/Lib/ExtLinks.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/elm/Lib/ExtLinks.elm b/elm/Lib/ExtLinks.elm
index a701039e..a86c3634 100644
--- a/elm/Lib/ExtLinks.elm
+++ b/elm/Lib/ExtLinks.elm
@@ -92,7 +92,7 @@ view model = Html.form [ onSubmit Enter ]
in tr []
[ td [] [ a [ href <| pre ++ val ++ suf, target "_blank" ] [ text s.name ] ]
, td [] [ b [ class "grayedout" ] [ text pre ], text val, b [ class "grayedout" ] [ text suf ] ]
- , td [] [ a [ href "#", onClickD (Del s.del i) ] [ text "remove" ] ]
+ , td [] [ inputButton "remove" (Del s.del i) [] ]
]
) (s.links model.links)
) model.sites