PHP Classes

File: examples/views/embed/component.blade.php

Recommend this page to a friend!
  Classes of Jorge Castro  >  BladeOne  >  examples/views/embed/component.blade.php  >  Download  
File: examples/views/embed/component.blade.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: BladeOne
Standalone template engine that compiles into PHP
Author: By
Last change:
Date: 11 months ago
Size: 213 bytes
 

Contents

Class file image Download
@component()

@set($type= 'info')

<div class="panel panel-t1">
    <h5>@yield('title', 'default title') <small>@yield('subtitle')</small></h5>
    <div>
        @yield('content')
    </div>
</div>

@endcomponent

For more information send a message to info at phpclasses dot org.