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