X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ced8c8e4978a7458f1e3d2b75af64917cd50ec7d..refs/pull/205/head:/resources/views/pages/form.blade.php
diff --git a/resources/views/pages/form.blade.php b/resources/views/pages/form.blade.php
index a5beabacf..c4baf38f7 100644
--- a/resources/views/pages/form.blade.php
+++ b/resources/views/pages/form.blade.php
@@ -1,9 +1,9 @@
-
-
-
+
{{ csrf_field() }}
+
+ {{--Header Bar--}}
+ {{--Title input--}}
-
- @if($errors->has('html'))
-
{{ $errors->first('html') }}
+
+ {{--WYSIWYG Editor--}}
+ @if(setting('app-editor') === 'wysiwyg')
+
+
+
+
+ @if($errors->has('html'))
+
{{ $errors->first('html') }}
+ @endif
@endif
+
+ {{--Markdown Editor--}}
+ @if(setting('app-editor') === 'markdown')
+
+
+
+
+ @if($errors->has('markdown'))
+
{{ $errors->first('markdown') }}
+ @endif
+ @endif
+
\ No newline at end of file