php
1{{ Form::text('name', 2 $value, 3 [ 4 'class' => 'original_class class_name', // 複数のクラスを指定 5 'id' => 'id_name', 6 'maxlength' => '50', 7 ] 8) }}
laravelのbladeで上記のようなコードを書きましたが、下記のエラーが出ます
error
1syntax error, unexpected ''id'' (T_CONSTANT_ENCAPSED_STRING), expecting ']'
どこを見落としていますか。教えてください。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。