I have layouts.app.blade.php where I have <html> and <body> tags, as well as <nav> tags.
In <body> I give content for each page, so they basically extend this .blade.php application.
All the main Laravel stuff, so now I have this:
<div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#spark-navbar-collapse"> <span class="sr-only">Toggle Navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="/"> *Dynamic page title* </a> </div>
And I would like to use this <a class="navbar-brand"> to display my list. Thus, this means that it must change for each downloadable template (using @yield ('content')) in this "parent.blade.php".
How do I do this using Laravel 5.2?
Many thanks
jquery php dynamic twitter-bootstrap laravel
nclsvh
source share