可以在tr
标签内编写form
吗?form-table-row标签
<table>
% for my $word (@$words_2) {
<tr>
<form action="/blacklist" method="post">
<td><%=$word%></td>
<td><input type="text" name="data" readonly hidden value="<%=$word%>" /></td>
<td><input class="remove" type="submit" value="Remove" /></td>
</form>
</tr>
% }
</table>
你不使用表,只是纯粹的CSS IMO – Rob
@Rob取决于更好的,表是OK的表格数据。不是为了布置。 – Petruza