summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-03-02 11:42:46 +0100
committerYorhel <git@yorhel.nl>2021-03-02 11:42:46 +0100
commit0b3dd2b68334110cf8dd11a1f9c44884d869428d (patch)
tree6578d073efc8ff24d7e4a89a7677099ec2d0aa5a
parentb2b1ecc8949d332f8c6e4b4ad1b29215f2c21a8f (diff)
ProducerEdit: Change relations form to match format of producer page
https://vndb.org/t950.901
-rw-r--r--elm/ProducerEdit.elm9
1 files changed, 2 insertions, 7 deletions
diff --git a/elm/ProducerEdit.elm b/elm/ProducerEdit.elm
index b17e56d1..b7b8a10e 100644
--- a/elm/ProducerEdit.elm
+++ b/elm/ProducerEdit.elm
@@ -185,13 +185,8 @@ view model =
, formField "Related producers"
[ if List.isEmpty model.rel then text ""
else table [] <| List.indexedMap (\i p -> tr []
- [ td [ style "text-align" "right" ] [ b [ class "grayedout" ] [ text <| p.pid ++ ":" ] ]
- , td [ style "text-align" "right"] [ a [ href <| "/" ++ p.pid ] [ text p.name ] ]
- , td []
- [ text "is an "
- , inputSelect "" p.relation (RelRel i) [] GT.producerRelations
- , text " of this producer"
- ]
+ [ td [] [ inputSelect "" p.relation (RelRel i) [] GT.producerRelations ]
+ , td [] [ b [ class "grayedout" ] [ text <| p.pid ++ ": " ], a [ href <| "/" ++ p.pid ] [ text p.name ] ]
, td [] [ inputButton "remove" (RelDel i) [] ]
]
) model.rel