FEATURE #1435: few smaller UI tweaks in creating new content page

This commit is contained in:
Michal Kváček
2016-08-19 13:20:16 +02:00
parent 0d1d692c45
commit f6fd924cbd
7 changed files with 22 additions and 7 deletions
+8 -1
View File
@@ -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'])