Fixes special http methods in jade forms
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Readme.md
example.js
index.js
package.json

Readme.md

Jade Method Override

Usage

var app = express()
app.use(express.methodOverride())
require('jade-method-override').express(app)

Now you can do

form(method='put')

and it will result in

<form method="post"><input type="hidden" name="_method" value="put"></form>

Install

npm install -S jade-method-override

Licence

MIT