代碼: 選擇全部
<input id="date_start" name="date_start" class="form-control id" value="{{ old('date_start',$tomorrow) }}">
代碼: 選擇全部
<select id="course_master_id" name="course_master_id" class=" form-control name">
<option value="" selected>请选择</option>
@foreach($coursemasters as $coursemaster)
<option value="{{$coursemaster->id}}" {{ (old("course_master_id") == $coursemaster->id ? "selected":"") }}>{{$coursemaster->course_master}}</option>
@endforeach
</select>