samshull/node-proxy — Issue #21: Jade and Node.js : no action when click on submit on post method 
Author: jhiraygit
Created: 2012-01-01 19:56:36+00:00
State: open

Hi have jade template as follows:

!!! 5
html(lang="en")
head
h1
body
form(action='/login', method='post')
p
label Username
input(type='text', name='username')
p
label Password
input(type='password', name='password')
p
input(type='submit', value='Login')
p
|Register
a(href='/signin', title='registration') new user

and node.js has code:

// login page
app.get('/login', function(req,res) {
res.render('login', { title: 'Welcome'});
});

When I click on Submit button nothing happens control stays on same page.
I am realy stuck at this point, any help will be apprecaited.

Thank you,
Jagdish