From c8d090ae28de5988b60f9f5d69a8e6f95686281a Mon Sep 17 00:00:00 2001 From: Eike Kettner Date: Mon, 24 Feb 2020 21:20:08 +0100 Subject: [PATCH] Remove small notes form field in favor for the new one --- .../webapp/src/main/elm/Comp/ItemDetail.elm | 24 ++++--------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/modules/webapp/src/main/elm/Comp/ItemDetail.elm b/modules/webapp/src/main/elm/Comp/ItemDetail.elm index dbb84c4c..1fde18a2 100644 --- a/modules/webapp/src/main/elm/Comp/ItemDetail.elm +++ b/modules/webapp/src/main/elm/Comp/ItemDetail.elm @@ -1525,29 +1525,13 @@ renderEditForm model = [ i [ class "tiny edit icon" ] [] , div [ class "content" ] [ text "Notes" - , div [ class "sub header" ] - [ a - [ class "ui link" - , target "_blank" - , href "https://guides.github.com/features/mastering-markdown" - ] - [ text "Markdown" - ] - , text " is supported" - ] ] ] , div [ class "field" ] - [ div [ class "ui action input" ] - [ textarea - [ rows 6 - , autocomplete False - , onInput SetNotes - , Maybe.withDefault "" model.notesModel |> value - ] - [] - , button [ class "ui icon button", onClick ToggleEditNotes ] - [ i [ class "save outline icon" ] [] + [ div [ class "ui input" ] + [ button [ class "ui basic primary fluid button", onClick ToggleEditNotes ] + [ i [ class "edit outline icon" ] [] + , text "Toggle Notes Form" ] ] ]