在Laravel项目中,我有以下显示错误:
代码:
<!-- Status Id Field -->
<div class="form-group col-sm-12">
{!! Form::label('status_id', __('project.status')) !!}
{!! Form::select('status_id', $templateProjectStatus, null, ['class' => 'form-control']) !!}
</div>
它没有特别的造型。
我怎样才能改进造型?
Form Helper不是laravel框架的一部分,因为使用bootstrap,
你可以像这样添加样式化所需的类:
你正确包含引导程序文件?因为似乎没有类在您的表单上应用
<div class="form-group">
<label for="exampleFormControlSelect2">Example multiple select</label>
<select multiple class="form-control" id="exampleFormControlSelect2">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</div>