mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-04-11 21:39:33 +00:00
Remove small notes form field in favor for the new one
This commit is contained in:
parent
381de1e198
commit
c8d090ae28
@ -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" ] []
|
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user