Open amine014 opened 9 years ago
Hi and thank you for the good work you're doing !
I'm using Pingpong-labs menus with Laravel 5.1.6 and I have an issue.
I have a login form within the menu so I used
$sub->header('
<form class="login_form" method="POST" action="auth/login"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> ....
The problem is that {{ csrf_token() }} is not interpreted. I
1/ modified the menus.php to menus.blade.php to interpret {{ }} 2/ I changed menus.php to menus.blade.php in MenusServiceProvider.php
Any help or idea is welcome please. Thank you
Looks more like you should be using the widget package for this kind of html. It's not really a menu.
Hi and thank you for the good work you're doing !
I'm using Pingpong-labs menus with Laravel 5.1.6 and I have an issue.
I have a login form within the menu so I used
$sub->header('
The problem is that {{ csrf_token() }} is not interpreted. I
1/ modified the menus.php to menus.blade.php to interpret {{ }} 2/ I changed menus.php to menus.blade.php in MenusServiceProvider.php
Any help or idea is welcome please. Thank you