FEATURE #1435: add base of content overview and creating new content

This commit is contained in:
Michal Kváček
2016-08-18 13:21:35 +02:00
parent 7889548a7e
commit 6f6497d540
15 changed files with 3332 additions and 3270 deletions
+11 -1
View File
@@ -3,5 +3,15 @@
@section('pageHeading', @trans('admin/contents.new', ['name' => $moduleName]))
@section('content')
@include('admin.content.newForm')
<form method="POST" enctype="multipart/form-data" action="{{route('content.newPost', ['moduleId' => $moduleId])}}">
{!! csrf_field() !!}
@include('admin.content.formInputs')
<button type="submit" class="btn btn-primary">@lang('admin/contents.save')</button>
</form>
@stop
@section('javascripts')
@include('admin.snippets.ckEditor', ['textareaId' => 'pageContent'])
@stop