Move the edit-list token outside the ul

This commit is contained in:
Kevin MacMartin 2018-01-12 00:15:04 -05:00
parent 34183cb338
commit b1533bb233

View file

@ -12,13 +12,13 @@
@section('dashboard-body')
<div id="edit-list-wrapper">
<input type="hidden" name="_token" id="token" value="{{ csrf_token() }}" />
@if($filter)
<input id="filter-input" class="search" placeholder="Filter" />
@endif
<ul id="edit-list" class="list-group edit-list list" data-model="{{ $model }}" data-path="{{ isset($path) ? $path : $model }}" {{ $sortcol != false ? "data-sort=$sortcol" : '' }}>
<input type="hidden" name="_token" id="token" value="{{ csrf_token() }}" />
@foreach($rows as $row)
<li class="list-group-item" data-id="{{ $row['id'] }}">
<div class="container-fluid">