아래 그림과 같이 내 laravel보기에서 일부 확인란을 만드는거야 : 사용자가 삭제 버튼을 클릭하면Laravel 일부 체크 박스에서 체크 박스 ID를 선택하는 방법에 5.2
이<table class="table table-condensed table-bordered table-hover">
<tr>
<th>Report</th>
<th>Type</th>
<th>Date</th>
</tr>
@foreach($tableContent as $data)
<tr>
<td><input type="checkbox" name="report" value="reportValue" id="{{$data->id}}" >{{$data->title}} </input></td>
<td><b>{{$data->report_type}}</b></td>
<td>{{$data->created_at}}</td>
</tr>
@endforeach
</table>
<a class="btn btn-default" href="/deletereport/"{{--how do I get checked box id here ? --}}">Delete</a>
그래서, 거 경로를 호출합니다/deletereport/idcheckedbutton ... 내가 선택한 버튼 이드, ... 도움을 받기 어떻게 아무 생각이 없다
그러나 : 사전에 V
감사합니다 .. :) N
오키 ... 고마워요. 케빈 씨. 오늘 밤에 시도해 보겠습니다. :) –
케빈 씨를 바로 잡으려고 합니다만, 나는 함께 놓아야하는 형태에 대해 혼란스러워합니다. 내 확인란으로. 내 삭제 버튼에 내 양식을 연결하는 방법을 의미합니까 ... ??? –
나는 이렇게 만들고있다.