17 lines
549 B
PHP
17 lines
549 B
PHP
@extends('admin.layoutWithNavigation')
|
|
|
|
@section('pageHeading', @trans('admin/contents.new', ['name' => $moduleName]))
|
|
|
|
@section('content')
|
|
<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 |