title: Node pug form button action not working from app.js
body: <p>I have an index.pug page that is:</p>
  
  <pre><code>html
      head
          title= title
      body
          h1= message
          form(method="get" action="/foo")
      button(type="submit") run foo
  </code></pre>
  
  <p>and in my app.js I have:</p>
  
  <pre><code>app.get('/foo', function(req, res) {
      console.log("Its come here");
      res.render('index', { title: 'hello', message: 'hello' });
  });
  </code></pre>
  
  <p>But when I click the button it does nothing. Am I doing something stupid?</p>
  
  <p>Can't work out why any ideas appreciated. Thanks</p>