Birmingham mumbai


Download 1.3 Mb.
Pdf ko'rish
bet68/68
Sana05.01.2022
Hajmi1.3 Mb.
#227543
1   ...   60   61   62   63   64   65   66   67   68
Bog'liq
Laravel 5 Essentials

Creating a master view

Blade lets you build hierarchical layouts by allowing the templates to be nested and 

extended. The following code snippet is the master template that we are going to use 

for our application. We will save it as 

resources/views/layouts/master.blade.php

.

 



Chapter 3

[

 35 

]

   

    Furbook

   

 

 

   

     



        @yield('header')

     



      @if (Session::has('success'))

       



          {{ Session::get('success') }}

       



      @endif

      @yield('content')

   



 
Download 1.3 Mb.

Do'stlaringiz bilan baham:
1   ...   60   61   62   63   64   65   66   67   68




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling