dwightwatson / bootstrap-form

Bootstrap 3 form builder for Laravel
MIT License
217 stars 133 forks source link

#bug _method not generated without store key #90

Open t1k3 opened 7 years ago

t1k3 commented 7 years ago

The _method input not generated when the store key is not exists or null.

{!! BootForm::open([ 'model' => $user, 'update' => 'users.update', ]) !!}

<form method="POST" action="*/users/1/edit" update="users.update" role="form">

dwightwatson commented 7 years ago

Hey, thanks for reporting this. Unfortunately I don't have a lot of time to dive into this at the moment, but I'm happy to accept any PR that can resolve this. Otherwise I'll get to this at some point down the line.