Add basic functionality
This commit is contained in:
18
server/views/library-form.pug
Normal file
18
server/views/library-form.pug
Normal file
@@ -0,0 +1,18 @@
|
||||
extend templates/layout.pug
|
||||
|
||||
block content
|
||||
.container
|
||||
.center
|
||||
h1 Library
|
||||
|
||||
.row
|
||||
.col.s12
|
||||
form.row(action="/library/add", method="post")
|
||||
.col.s12.input-field
|
||||
input#name(type="text", name="name", value=entry.name)
|
||||
label(for="name") Entry Name
|
||||
.col.s12.input-field
|
||||
input#url(type="text", name="url", value=entry.url)
|
||||
label(for="url") Entry Url
|
||||
.col.s12
|
||||
button.btn.black(type="submit") add entry
|
||||
Reference in New Issue
Block a user