form表单(简写啦) form.form-horizontal(method = “post", action = “/admin/movie/new", enctype="multipart/form-data”) .form-group label.col-sm-2.control-label(for="uploadPoster”) 海报上传 .col-sm-10 input#uploadPoster(type="file", name="uploadPoster")
路由 app.post('/admin/movie/new’, Movie.savePoster, Movie.save);