问题描述:

Currently I have a form that looks like this:

{!! Form::open(['route' => 'lists.store', 'class' => 'form1']) !!}

I was wondering how can I add multiple classes something like the following

{!! Form::open(['route' => 'lists.store', 'class' => 'form', 'blah', 'blah2']) !!}

I am expecting the result to be:

<form class="form blah blah2" ...

but instead i just get an error.

网友答案:

Just Try this

{!! Form::open(['route' => 'lists.store', 'class' => 'form blah blah2']) !!}
相关阅读:
Top