table rwo里面我想在jade里面保留一个选择框
Inside table rwo I want to keep a selection box in jade
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
这不是我想要的 output.I 想在 table 的第 2 列中放置一个选择框。请帮忙
a.select
将输出 <a class="select">
。圆点.
是CSS指定class的shorthand。我假设您想输出 <select>
标记,在这种情况下您只需使用 select
(而不是 a.select
)。
td
select.thumbnail.form-control()
option(value='1') opt1
option(value='1') opt2
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
这不是我想要的 output.I 想在 table 的第 2 列中放置一个选择框。请帮忙
a.select
将输出 <a class="select">
。圆点.
是CSS指定class的shorthand。我假设您想输出 <select>
标记,在这种情况下您只需使用 select
(而不是 a.select
)。
td
select.thumbnail.form-control()
option(value='1') opt1
option(value='1') opt2