liyinglin 2 years ago
parent 2eed673c63
commit deee961dae

@ -5,17 +5,17 @@
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="mb-3">
<form class="form-inline" id="search-form" autocomplete="off">
<select class="form-control mr-1" name="project_id"
onchange="$(this).closest('form').submit()">
@foreach($projects as $pp)
<option
value="{{$pp->id}}" @if($pp->id == $project_id) {{ "selected" }}@endif>{{$pp->name}}</option>
@endforeach
</select>
</form>
</div>
{{-- <div class="mb-3">--}}
{{-- <form class="form-inline" id="search-form" autocomplete="off">--}}
{{-- <select class="form-control mr-1" name="project_id"--}}
{{-- onchange="$(this).closest('form').submit()">--}}
{{-- @foreach($projects as $pp)--}}
{{-- <option--}}
{{-- value="{{$pp->id}}" @if($pp->id == $project_id) {{ "selected" }}@endif>{{$pp->name}}</option>--}}
{{-- @endforeach--}}
{{-- </select>--}}
{{-- </form>--}}
{{-- </div>--}}
<table class="table table-bordered" id="data-table">
<thead>
<tr>

Loading…
Cancel
Save