From 261ce744c6efdf038a90024be1bc559cb2fd5dc0 Mon Sep 17 00:00:00 2001 From: Samuel De Backer Date: Tue, 8 May 2018 17:03:38 +0200 Subject: [PATCH] Bootstrap 4 --- src/resources/views/admin/_form.blade.php | 14 +++++++++----- src/resources/views/admin/index.blade.php | 8 ++++---- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/src/resources/views/admin/_form.blade.php b/src/resources/views/admin/_form.blade.php index a042451..933c42e 100644 --- a/src/resources/views/admin/_form.blade.php +++ b/src/resources/views/admin/_form.blade.php @@ -9,18 +9,22 @@ @include('core::admin._image-fieldset', ['field' => 'image']) -{!! BootForm::hidden('homepage')->value(0) !!} -{!! BootForm::checkbox(__('Homepage'), 'homepage') !!} +
+ {!! BootForm::hidden('homepage')->value(0) !!} + {!! BootForm::checkbox(__('Homepage'), 'homepage') !!} +
-
+
{!! BootForm::text(__('Position'), 'position')->type('number')->min(1)->required() !!}
@include('core::form._title-and-slug') -{!! TranslatableBootForm::hidden('status')->value(0) !!} -{!! TranslatableBootForm::checkbox(__('Published'), 'status') !!} +
+ {!! TranslatableBootForm::hidden('status')->value(0) !!} + {!! TranslatableBootForm::checkbox(__('Published'), 'status') !!} +
{!! TranslatableBootForm::text(__('Website'), 'website') !!} {!! TranslatableBootForm::textarea(__('Summary'), 'summary')->rows(4) !!} {!! TranslatableBootForm::textarea(__('Body'), 'body')->addClass('ckeditor') !!} diff --git a/src/resources/views/admin/index.blade.php b/src/resources/views/admin/index.blade.php index b681391..84e4059 100644 --- a/src/resources/views/admin/index.blade.php +++ b/src/resources/views/admin/index.blade.php @@ -18,7 +18,7 @@
- +
@@ -33,10 +33,10 @@ @@ -54,7 +54,7 @@
- + - +
- + @{{ model.homepage }} @{{ model.title_translated }}