From 76fd712cb4f1d1b2afbe76fab5c8847ca28dc8d4 Mon Sep 17 00:00:00 2001 From: Chris Hackett Date: Sat, 17 Apr 2021 14:02:14 -0500 Subject: [PATCH] Remove duplicate option of selecting layout #14. --- src/Nova/Post.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Nova/Post.php b/src/Nova/Post.php index 7411c5e..c7ed0ba 100644 --- a/src/Nova/Post.php +++ b/src/Nova/Post.php @@ -52,7 +52,6 @@ public function fields(Request $request) Slug::make('Slug')->from('Title'), nova('layout') ? BelongsTo::make('Layout', 'layout', nova('layout'))->nullable() : null, DateTime::make('Published', 'published_at'), - nova('layout') ? BelongsTo::make('Layout', 'layout', nova('layout'))->nullable() : null, Markdown::make('Content')->help( 'MarkdownGuide.org' )->stacked(),