【发布时间】:2018-06-18 01:11:58
【问题描述】:
这是laravel 集体形式,这是一个下拉字段,它与数据库连接。我怎样才能转换正常的html表单???
{!! Form::open(['method'=>'POST', 'action'=> xyz\AddController@store', 'id'=> 'form']) !!}
<div class="form-group col-sm-5">
{!! Form::label('student_id', 'Students:') !!}
{!! Form::select('student_id', [''=>'Choose Options'] + $students , null, ['class'=>'form-control', 'id'=>'student', 'name'=>'student_id'])!!}
</div>
{!! Form::close() !!}
我想转换成这样的格式
<div class="form-group col-lg-5">
<label for="qty">Traded Quantity</label>
<input type="text" name="qty" id="qty" class="form-control" />
</div>
【问题讨论】:
标签: html laravel laravelcollective