FEATURE #1435: few smaller UI tweaks in creating new content page
This commit is contained in:
@@ -3,6 +3,13 @@
|
||||
@section('pageHeading', @trans('admin/contents.new', ['name' => $moduleName]))
|
||||
|
||||
@section('content')
|
||||
|
||||
@if(!count($templates))
|
||||
<div class="alert alert-warning">
|
||||
@lang('admin/contents.noTemplates')
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<form method="POST" enctype="multipart/form-data" action="{{route('content.newPost', ['moduleId' => $moduleId])}}">
|
||||
{!! csrf_field() !!}
|
||||
|
||||
@@ -10,7 +17,7 @@
|
||||
|
||||
<button type="submit" class="btn btn-primary">@lang('admin/contents.save')</button>
|
||||
</form>
|
||||
@stop
|
||||
@endsection
|
||||
|
||||
@section('javascripts')
|
||||
@include('admin.snippets.ckEditor', ['textareaId' => 'pageContent'])
|
||||
|
||||
Reference in New Issue
Block a user