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

You're on the right track, what you need to do is pass {{ $post->id }} to your view, and then the following code in the form.

{{ Form::hidden('post_id', $post->id) }}
Last updated 2 years ago.
0

Smally1997 said:

You're on the right track, what you need to do is pass {{ $post->id }} to your view, and then the following code in the form.

{{ Form::hidden('post_id', $post->id) }}

Man you are fantastic! Thank you so much :)

Last updated 2 years ago.
0

If you could mark this topic as solved, it makes sure that other people don't reply, and makes it easier for those searching for the same solution.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

barantr90 barantr90 Joined 23 May 2014

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.

© 2024 Laravel.io - All rights reserved.