table.table.table-striped
thead
tr
th(width="10%") Status
th(width="10%") select
tbody
tr
td {{ Status }}
td
a.select.thumbnail.form-control()
option(value='1') opt1
option(value='1') opt2
这不是给我想要的输出。我想在表格的第二列中放置一个选择框。请帮忙
答案 0 :(得分:1)
a.select
将输出<a class="select">
。 Dot .
是指定来自CSS的类的简写。我假设您要输出<select>
代码,在这种情况下,您只需使用select
(而不是a.select
)。
td
select.thumbnail.form-control()
option(value='1') opt1
option(value='1') opt2