I want to write to the area in my template from the view, as well as from the included view, the first view, but no matter what I tried, it does not work. I tried using @parent and @append, but nothing gave the result that I want so far.
In my layout, I have the following:
@yield('scripts')
In my opinion, I have the following:
@include('admin/rules/partials/_form')
@section('scripts)
// javascript
@stop
In admin / rules / partials / _form, I have the following:
@section('scripts)
// javascript
@stop
, , @parent @section ('scripts'), @append @stop, script. , , - javascript # 1, javascript # 2 - . , ?