mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-02-07 15:01:52 +00:00
added article
This commit is contained in:
11
test/views/articles/new.jade
Normal file
11
test/views/articles/new.jade
Normal file
@@ -0,0 +1,11 @@
|
||||
h1 New Article
|
||||
|
||||
form(method="POST", action="/articles")
|
||||
p
|
||||
label(for="title") Title<br />
|
||||
input#title(name="title")
|
||||
p
|
||||
label(for="body") Body<br />
|
||||
textarea#body(name="body")
|
||||
p
|
||||
input(type="submit", value="Create")
|
||||
Reference in New Issue
Block a user