fix data-id

This commit is contained in:
jysperm
2014-04-26 20:07:51 +08:00
parent ad1f28b06a
commit 46deb158a7
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ block main
th= t('ticket.status')
tbody
for ticket in tickets
tr(data-id= ticket._id)
tr(data-id= '#{ticket._id}')
td= ticket.type
td
a(href='/ticket/view/?id=#{ticket._id}')= ticket.title

View File

@@ -5,7 +5,7 @@ prepend head
link(rel='stylesheet', href='/style/ticket.css')
block main
.row#ticketid(data-id= "#{ticket._id}")
.row#ticketid(data-id= '#{ticket._id}')
header= ticket.title
p!= ticket.content_html