我是 laravel 5.3 的初学者,我已将 href 链接添加到我的 html 表单中,但出现类似错误
找不到类“HTML”(查看:C:\xampp\htdocs\laravel_demo\resources\views\pages\registration.blade.php)
我参考以下链接安装表单和 Html
我的视图页面:
{{Form::open(array('action' => 'RegistrationController@store', 'method' => 'post'))}}
<table>
<tr>
<td>
Entr SNO:
</td>
<td>
{!! Form::text('sno', null, ['class' => 'form-control']) !!}
</td>
</tr>
<tr>
<td>
Enter Name:
</td>
<td>
{!! Form::text('sname', null, ['class' => 'form-control']) !!}
</td>
</tr>
<tr>
<td>
Enter Course:
</td>
<td>
{!! Form::text('course', null, ['class' => 'form-control']) !!}
</td>
</tr>
<tr>
<td>
Entr SNO:
</td>
<td>
{{ Form::select('number', [1, 2, 3], null, ['class' => 'field']) }}
</td>
</tr>
<tr>
<td>
{!! Form::submit('Submitform', ['class' => 'btn btn-primary']) !!}
</td>
<td>
{{ HTML::link('http://test.com') }}
</td>
</tr>
</table>
{!! Form::close() !!}
表单运行良好,但是当我添加“href”链接不起作用。请帮助我