mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
->hideFromIndex()
This commit is contained in:
@@ -90,9 +90,11 @@ class Lecturer extends Resource
|
||||
|
||||
Text::make('Twitter username', 'twitter_username')
|
||||
->help(__('Without @'))
|
||||
->hideFromIndex()
|
||||
->rules('nullable', 'string'),
|
||||
|
||||
Text::make('Website', 'website')
|
||||
->hideFromIndex()
|
||||
->rules('nullable', 'url'),
|
||||
|
||||
Markdown::make(__('Subtitle'), 'subtitle')
|
||||
@@ -102,6 +104,7 @@ class Lecturer extends Resource
|
||||
->help(__('This is the introduction text that is shown on the landing page.')),
|
||||
|
||||
Text::make('Slug')
|
||||
->hideFromIndex()
|
||||
->rules('required', 'string', 'unique:lecturers,slug')
|
||||
->exceptOnForms(),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user