diff --git a/app/Nova/Module.php b/app/Nova/Module.php index bf1f3a06..79cb6d8e 100644 --- a/app/Nova/Module.php +++ b/app/Nova/Module.php @@ -6,6 +6,7 @@ use App\Nova\Filters\ModuleSkillLevel; use Illuminate\Http\Request; use Laravel\Nova\Fields\BelongsToMany; +use Laravel\Nova\Fields\Boolean; use Laravel\Nova\Fields\HasMany; use Laravel\Nova\Fields\ID; use Laravel\Nova\Fields\Select; @@ -55,6 +56,8 @@ public function fields(Request $request) Text::make('Description')->hideFromIndex(), ]), + Boolean::make('Is Bonus'), + Select::make('Skill Level') ->options(EloquentModule::SKILL_LEVELS) ->displayUsingLabels() diff --git a/resources/js/components/Modules/ModuleListing.vue b/resources/js/components/Modules/ModuleListing.vue index ba0371da..40f580c5 100644 --- a/resources/js/components/Modules/ModuleListing.vue +++ b/resources/js/components/Modules/ModuleListing.vue @@ -1,7 +1,7 @@