- <div class="flex-fill flex">
- <form action="{{$page->getUrl()}}" method="POST" class="flex flex-fill">
- <input type="hidden" name="_method" value="PUT">
- @include('pages/form', ['model' => $page])
+ <div id="main-content" class="flex-fill flex fill-height">
+ <form action="{{ $page->getUrl() }}" autocomplete="off" data-page-id="{{ $page->id }}" method="POST" class="flex flex-fill">
+ {{ csrf_field() }}
+
+ @if(!isset($isDraft))
+ <input type="hidden" name="_method" value="PUT">
+ @endif
+ @include('pages.parts.form', ['model' => $page])
+ @include('pages.parts.editor-toolbox')