我都不知道list頁哪里錯。老是說我19行縮進有問題
extends ../layout
block content
.container
.row
table.table.table-hover.table-bordered
thead
tr
th 電影名字
th 導演
th 國家
th 上映年份
//-th 錄入時間
th 查看
th 更新
th 刪除
tbody
each item in movies
tr(class="item-id-#{item._id}")
td #{item.title}
td #{item.doctor}
td #{item.country}
td #{item.year}
//-td #{moment(item.meta.createAt).format('MM/DD/YYYY')}
td: a(target="_blank", href="../movie/#{item._id}") 查看
td: a(target="_blank", href="../admin/update/#{item._id}") 修改
td
button.btn.btn-danger.del(type="button", data-id="#{item._id}") 刪除
2016-06-23
已解決 each item in movie ......要跟app.js 上的保持一個樣
2016-03-09
//是這樣出問題了
2016-03-08
each 下一行的tr 要縮進 不能跟eahc并列