Support the ongoing development of Laravel.io →
posted 10 years ago
Forms
Last updated 2 years ago.
0

I just replaced the code in the View with:

{{Form::submit("Save", array("class"=>"btn btn-default"),$cat->id)}}

And works! so I reply to myself :).

Last updated 10 years ago.
0

{{ Form::open(array('method' => 'store', 'route' => array('cats.store'), 'class' => 'delete-form')) }}

method can't be stored can it? i thought it was post/update/put?

0

Ok, a method can't be stored, but a method can be a store method. I had taken the code from some other thread.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

panosss panosss Joined 18 Jan 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.