mirror of
https://github.com/sstent/expressmongotest.git
synced 2026-02-04 13:31:37 +00:00
upgraded to express 3.x, converted jade templates, and worked out array notation for articles/exercises
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
h1 New User
|
||||
extends ../layout
|
||||
block content
|
||||
h1 New User
|
||||
|
||||
form(method="POST", action="/users")
|
||||
p
|
||||
label(for="username") Username<br />
|
||||
input#username(name="username")
|
||||
p
|
||||
label(for="name") Name<br />
|
||||
input#name(name="name")
|
||||
p
|
||||
label(for="password") Password<br />
|
||||
input#password(type="password", name="password")
|
||||
p
|
||||
input(type="submit", value="Create")
|
||||
form(method="POST", action="/users")
|
||||
p
|
||||
label(for="username") Username<br />
|
||||
input#username(name="username")
|
||||
p
|
||||
label(for="name") Name<br />
|
||||
input#name(name="name")
|
||||
p
|
||||
label(for="password") Password<br />
|
||||
input#password(type="password", name="password")
|
||||
p
|
||||
input(type="submit", value="Create")
|
||||
Reference in New Issue
Block a user