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

You can modify your view creation and add additional information like this:

return View::make('index', compact('menus_child', 'test_menu', 'content'))->with('menu', $menu, $test_menu, $content)->withSuccess('Everything went great');

and then show it inside your blade like this:

@if (!empty($success))
    {{ $success }}
@endif
0
with('message', 'Message Body');

and print it like so:

@if(Session::has('message'))
    <div class="alert alert-info">
        {{ Session::get('message') }}
    </div>
@endif
0

@ftiersch - that worked thanks

0

Sign in to participate in this thread!

Eventy

Your banner here too?

shiva shiva Joined 24 Jul 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.