Make notes below the files view and always visible

It looks similiar to github's readme. If there are no notes, the form
is displayed.
This commit is contained in:
Eike Kettner
2020-08-05 19:15:34 +02:00
parent 1662e1e2c8
commit 0453494cc6
6 changed files with 271 additions and 221 deletions

View File

@ -79,7 +79,6 @@ type alias Model =
type NotesField
= ViewNotes
| EditNotes Comp.MarkdownInput.Model
| HideNotes
type alias AttachmentRename =
@ -97,9 +96,6 @@ isEditNotes field =
ViewNotes ->
False
HideNotes ->
False
emptyModel : Model
emptyModel =