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

Hmm..is that within php tags? If so, you should drop the curly braces and probably try this something like this:

$menu->dropdown('<img src="' . (url('img/flags/'. $locale . '.png')) . '" >' , function ($sub) { }); 
Last updated 9 years ago.
0

Oh! Thank you so much!!!! @thomastkim

So what do I missed ?

0

btw your post was not a solution.. common courtesy is to mark the correct post as a solution!

0

Sign in to participate in this thread!

Eventy

Your banner here too?

amine014 amine014 Joined 11 Jul 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.

© 2024 Laravel.io - All rights reserved.