Skip to content

Commit

Permalink
Remove duplicate option of selecting layout #14.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hackett committed Apr 17, 2021
1 parent 2ba1768 commit 76fd712
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Nova/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
'<a href="https://www.markdownguide.org">MarkdownGuide.org</a>'
)->stacked(),
Expand Down

0 comments on commit 76fd712

Please sign in to comment.