From bfe15e80a0b4f9d58b64c942047c2ea46bd0edb4 Mon Sep 17 00:00:00 2001 From: Benjamin Takats Date: Sun, 4 Dec 2022 19:56:42 +0100 Subject: [PATCH] tag icons --- app/Nova/Tag.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/app/Nova/Tag.php b/app/Nova/Tag.php index 64494ad2..4421229b 100644 --- a/app/Nova/Tag.php +++ b/app/Nova/Tag.php @@ -19,13 +19,17 @@ class Tag extends Resource public function fields(Request $request) { return [ - Text::make('Name')->sortable(), + Text::make('Name') + ->sortable(), - Text::make('Translation')->sortable(), + Text::make('Icon') + ->sortable() + ->help('https://fontawesome.com/icons'), - Select::make('Type')->options([ - 'search' => 'search', - ]), + Select::make('Type') + ->options([ + 'search' => 'search', + ]), ]; }