X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/7b65ba49f6421362c2d16fcebe778bb784e1094c..refs/pull/263/head:/resources/views/pages/form.blade.php diff --git a/resources/views/pages/form.blade.php b/resources/views/pages/form.blade.php index d81b2a2c4..eb5ebb0bd 100644 --- a/resources/views/pages/form.blade.php +++ b/resources/views/pages/form.blade.php @@ -1,78 +1,115 @@ +
+ {{ csrf_field() }} -
+ {{--Header Bar--}} +
+
+
+ +
- {{ csrf_field() }} - +
+
+ + + +
+
+
+
+
+ + {{--Title input--}} +
- @include('form/text', ['name' => 'name', 'placeholder' => 'Page Title']) + @include('form/text', ['name' => 'name', 'placeholder' => trans('entities.pages_title')])
-
- - @if($errors->has('html')) -
{{ $errors->first('html') }}
+ + {{--Editors--}} +
+ + {{--WYSIWYG Editor--}} + @if(setting('app-editor') === 'wysiwyg') +
+ +
+ + @if($errors->has('html')) +
{{ $errors->first('html') }}
+ @endif @endif + + {{--Markdown Editor--}} + @if(setting('app-editor') === 'markdown') +
+ +
+
+ {{ trans('entities.pages_md_editor') }} +
+ +  |  + +
+
+ +
+ +
+ +
+ +
+
+
{{ trans('entities.pages_md_preview') }}
+
+
+
+
+
+ +
+ + + + @if($errors->has('markdown')) +
{{ $errors->first('markdown') }}
+ @endif + @endif +
-
- Cancel - -
-
- - - - - - \ No newline at end of file +
\ No newline at end of file