为了账号安全,请及时绑定邮箱和手机立即绑定

admin 后台列表页 显示不正确

extends ../layout

block content
    .container
        .row
            form.form-horizontal(method="post", action="/admin/movie/new")
                .form-group
                    label.col-sm-2.control-label(for="inputTitle") 电影名字
                    .col-sm-10
                        input#inputTitle.form-control(type="text", name="movice[title]", value=movie.title)
                .form-group
                    label.col-sm-2.control-label(for="inputDoctor") 电影导演
                    .col-sm-10
                        input#inputDoctor.form-control(type="text", name="movice[doctor]", value=movie.doctor)
                .form-group
                    label.col-sm-2.control-label(for="inputCountry") 国家
                    .col-sm-10
                        input#inputCountry.form-control(type="text", name="movice[country]", value=movie.country)
                .form-group
                    label.col-sm-2.control-label(for="inputLanguage") 语种
                    .col-sm-10
                        input#inputLanguage.form-control(type="text", name="movice[language]", value=movie.language)
                .form-group
                    label.col-sm-2.control-label(for="inputPoster") 海报地址
                    .col-sm-10
                        input#inputPoster.form-control(type="text", name="movice[poster]", value=movie.poster)
                .form-group
                    label.col-sm-2.control-label(for="inputFlash") 片源地址
                    .col-sm-10
                        input#inputFlash.form-control(type="text", name="movice[flash]", value=movie.flash)
                .form-group
                    label.col-sm-2.control-label(for="inputYear") 上映年代
                    .col-sm-10
                        input#inputYear.form-control(type="text", name="movice[year]", value=movie.year)
                .form-group
                    label.col-sm-2.control-label(for="inputSummary") 电影简介
                    .col-sm-10
                        input#inputSummary.form-control(type="text", name="movice[summary]", value=movie.summary)
                .form-group
                    .col-sm-12.text-center
                        button.btn.btn-default(type="submit") 录入

https://img1.sycdn.imooc.com//5ab8c29500018d6004560610.jpg

正在回答

2 回答

问题找到了 我用了最新的bootstrap4  4的语法变了

0 回复 有任何疑惑可以回复我~

我用的 pug 模板引擎 bootStrap 和 jQuery 都引入正确

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
node+mongodb 建站攻略(一期)
  • 参与学习       91860    人
  • 解答问题       889    个

带你完整实现一个从前端到后端的项目,初中级前端开发工程师必学课程

进入课程

admin 后台列表页 显示不正确

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信