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

Check this answer

http://stackoverflow.com/questions/18074771/laravel-4-blade-syntax-within-my-javascript-files

In your situation, just do not use blade inside .js file. Write the <Form>...</Form> in pure html

Last updated 2 years ago.
0

Oh yeah nice trick, I'll try it.

Last updated 2 years ago.
0

Just be sure to check the answer below the accepted one. Renaming .js file to .blade.php is confusing

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mbeuget mbeuget Joined 20 Jun 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.