Bringing back the js and css stacks on main views

parent 51ee8acb
...@@ -19,6 +19,10 @@ ...@@ -19,6 +19,10 @@
</style> </style>
@stop @stop
@if ($editor->getEditorCssPartial() !== null)
@include($editor->getEditorCssPartial())
@endif
@section('content') @section('content')
{!! Form::open(['route' => ['admin.page.page.store'], 'method' => 'post']) !!} {!! Form::open(['route' => ['admin.page.page.store'], 'method' => 'post']) !!}
<div class="row"> <div class="row">
...@@ -102,3 +106,7 @@ ...@@ -102,3 +106,7 @@
}); });
</script> </script>
@stop @stop
@if ($editor->getEditorJsPartial() !== null)
@include($editor->getEditorJsPartial())
@endif
...@@ -19,6 +19,10 @@ ...@@ -19,6 +19,10 @@
</style> </style>
@stop @stop
@if ($editor->getEditorCssPartial() !== null)
@include($editor->getEditorCssPartial())
@endif
@section('content') @section('content')
{!! Form::open(['route' => ['admin.page.page.update', $page->id], 'method' => 'put']) !!} {!! Form::open(['route' => ['admin.page.page.update', $page->id], 'method' => 'put']) !!}
<div class="row"> <div class="row">
...@@ -109,3 +113,7 @@ ...@@ -109,3 +113,7 @@
}); });
</script> </script>
@stop @stop
@if ($editor->getEditorJsPartial() !== null)
@include($editor->getEditorJsPartial())
@endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment