Selaa lähdekoodia

Update form.forkbb.php

Visman 2 vuotta sitten
vanhempi
commit
66ce617d35
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      app/templates/layouts/form.forkbb.php

+ 4 - 1
app/templates/layouts/form.forkbb.php

@@ -81,7 +81,10 @@
                 <p id="id-{{ $key }}" class="f-str"> @if ($cur['html']){!! $cur['value'] !!} @else{{ $cur['value'] }} @endif</p>
                             @break
                         @case ('yield')
-                {!! $this->block($cur['value']) !!}
+                @yield($cur['value'])
+                            @break
+                        @case ('include')
+                @include($cur['include'])
                             @break
                     @endswitch
                     @if ($cur['help'])