i have a collection of data paginated through the method paginate (). Inside the blade i print my data, and for every line there is a checkbox (each has an univocal name). The problem is that if i change page i lose the checks. how can i save these checks through the paginazione? or other methods? To save the checks I use a submit.
Blade
@foreach($data as $d)
<tr>
<td>
{!! Form::checkbox($sub->id, '1', null) !!}
</td>
<td></td>
...
</tr>
@endforeach
pagination
<div class="row">
<div class="col-xs-12" align="center">
</div>
</div>
Aucun commentaire:
Enregistrer un commentaire