我需要组织表格中的复选框字段。Dinamic复选框+刀片Famework和Laravel表
我希望每次10项的刀片破损的表行。
这里是我的代码:
<table>
<div class="btn-group" data-toggle="buttons">
{{$i = 0}}
@foreach($sintese as $s)
<tr>
<td>
<label class="btn btn-primary">
<input type="checkbox" autocomplete="off" name="chksintese" id="{{$s->cod_sintese_conversa}}">
<span class="glyphicon glyphicon-ok"></span>
{{$s->descricao}}
</label>
</td>
@if ($i > 10)
{{'</tr>'}}
{{$i = 0}}
@else
{{$i++}}
@endif
@endforeach
</div>
</table>
有人知道如何在Vue.js中做到这一点? –