Do we really need extra component to build HTML elements when we can do it with simple html tags?
{!! Form::open(['action' => 'Controller@method']) !!}
...
{!! Form::close() !!}
is equivalent with
<form action="">
...
</form>
Form::label('email', 'E-Mail Address', ['class' => 'awesome']);
is equivalent with
<label class='awesome' name='email'> E-Mail Address</label>
etc...
Are there things we can not achieve using the regular html tags? And if so, Is it ok to use mixed? (html tags and laravelcollective elemnts)
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire