Exemplo n.º 1
0
 public function render()
 {
     /**
             <div class="panel panel-default">
        <div class="panel-heading">
            <h3 class="panel-title">Panel title</h3>
        </div>
        <div class="panel-body">
            Panel content
        </div>
             </div>
     *
     */
     $t = new Tag();
     return $t->div(a::c1ass("panel", "panel-default"), [$t->div(a::c1ass("panel-heading"), $t->h3(a::c1ass("panel-title"), $this->title)), $t->div(a::c1ass("panel-body"), $this->content)]);
 }