forma
Check this:
https://codepen.io/DevLorenzo/pen/wvzNPKz
DevLorenzo
Check this:
https://codepen.io/DevLorenzo/pen/wvzNPKz
<form>
<div class="form-group">
<label for="formGroupExampleInput">Example label</label>
<input type="text" class="form-control" id="formGroupExampleInput" placeholder="Example input">
</div>
<div class="form-group">
<label for="formGroupExampleInput2">Another label</label>
<input type="text" class="form-control" id="formGroupExampleInput2" placeholder="Another input">
</div>
</form>
<tbody> @foreach ($file as $key=>$data) <tr> <td>{{ ++$key }}</td> <td> {{ $data->id }}</td> <td> {{ $data->traveller_name }}</td> <td> {{ $data->traveller_passport_number }}</td> <td> {{ $data->file }}</td> <td> <div class="button" style="margin-right: 35px;"> <a href="{{ url('admin/medical_reports/delete/') }}/{{ $data->id }}"> <button type="button" class="btn btn-danger">Delete</button> </a> <a href="{{ url('/files/{{ $data->id }}) }}" > <button type="button" class="btn btn-success" s>View</button> </a> </div> </td> </tr> @endforeach </tbody> </table> </div> </div> {{-- form Div End --}} </div></body></html>