Remove small notes form field in favor for the new one

This commit is contained in:
Eike Kettner 2020-02-24 21:20:08 +01:00
parent 381de1e198
commit c8d090ae28

View File

@ -1525,29 +1525,13 @@ renderEditForm model =
[ i [ class "tiny edit icon" ] [] [ i [ class "tiny edit icon" ] []
, div [ class "content" ] , div [ class "content" ]
[ text "Notes" [ 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 "field" ]
[ div [ class "ui action input" ] [ div [ class "ui input" ]
[ textarea [ button [ class "ui basic primary fluid button", onClick ToggleEditNotes ]
[ rows 6 [ i [ class "edit outline icon" ] []
, autocomplete False , text "Toggle Notes Form"
, onInput SetNotes
, Maybe.withDefault "" model.notesModel |> value
]
[]
, button [ class "ui icon button", onClick ToggleEditNotes ]
[ i [ class "save outline icon" ] []
] ]
] ]
] ]