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')
|
Text::make('Twitter username', 'twitter_username')
|
||||||
->help(__('Without @'))
|
->help(__('Without @'))
|
||||||
|
->hideFromIndex()
|
||||||
->rules('nullable', 'string'),
|
->rules('nullable', 'string'),
|
||||||
|
|
||||||
Text::make('Website', 'website')
|
Text::make('Website', 'website')
|
||||||
|
->hideFromIndex()
|
||||||
->rules('nullable', 'url'),
|
->rules('nullable', 'url'),
|
||||||
|
|
||||||
Markdown::make(__('Subtitle'), 'subtitle')
|
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.')),
|
->help(__('This is the introduction text that is shown on the landing page.')),
|
||||||
|
|
||||||
Text::make('Slug')
|
Text::make('Slug')
|
||||||
|
->hideFromIndex()
|
||||||
->rules('required', 'string', 'unique:lecturers,slug')
|
->rules('required', 'string', 'unique:lecturers,slug')
|
||||||
->exceptOnForms(),
|
->exceptOnForms(),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user