title: Node.Js - Jade form doesn't POST or do anything?
body: <p><strong>app.js</strong></p>
  
  <pre><code>   /**
   * Module dependencies.
   */
  
  var express = require('express');
  var routes = require('./routes');
  var http = require('http');
  var path = require('path');
  
  var app = express();
  
  // all environments
  app.set('port', process.env.PORT || 3000);
  app.set('views', path.join(__dirname, 'views'));
  app.set('view engine', 'jade');
  app.use(express.favicon());
  app.use(express.logger('dev'));
  app.use(express.json());
  app.use(express.urlencoded());
  app.use(express.methodOverride());
  app.use(app.router);
  app.use(require('stylus').middleware(path.join(__dirname, 'public')));
  app.use(express.static(path.join(__dirname, 'public')));
  
  
  // development only
  if ('development' == app.get('env')) {
      app.use(express.errorHandler());
  }
  
  app.get('/', routes.index);
  app.get('/about', routes.about);
  app.get('/contact', routes.contact);
  
  app.get('/moviesList', routes.moviesList);
  
  app.get('/addMovie', routes.addMovie);
  
  app.post('/movieAdded', routes.movieAdded);
  </code></pre>
  
  <p><strong>index.js</strong></p>
  
  <pre><code>exports.movieAdded = function (req, res) {
      console.log(req.body);
      res.render('movieAdded', req.body);
  };
  </code></pre>
  
  <p><strong>addMovie.jade</strong></p>
  
  <pre><code>extends layout
  
  block content
  
      br
      form(action="/movieAdded", method="POST")
      input(type="text", name="movie" ,value="movie")
      br
      input(type="number", name="rating", value="rating")
      br
      input(type="number", name="year", value="year")
      br
      input(type="submit" value="Submit")
  </code></pre>
  
  <p><em>When I hit submit button, it doesn't POST anything on the console or it doesn't show anything in the browser. In other words it is being idle. Tried many ways so any help would be appreciated.</em></p>