33 lines
955 B
PHP
33 lines
955 B
PHP
<?php
|
|
|
|
namespace App\Filament\Resources\TlaSuggestions\Schemas;
|
|
|
|
use Filament\Infolists\Components\TextEntry;
|
|
use Filament\Schemas\Schema;
|
|
|
|
class TlaSuggestionInfolist
|
|
{
|
|
public static function configure(Schema $schema): Schema
|
|
{
|
|
return $schema
|
|
->components([
|
|
TextEntry::make('acronym'),
|
|
TextEntry::make('hint')
|
|
->placeholder('-'),
|
|
TextEntry::make('language')
|
|
->badge(),
|
|
TextEntry::make('context')
|
|
->placeholder('-')
|
|
->columnSpanFull(),
|
|
TextEntry::make('submitter')
|
|
->placeholder('-'),
|
|
TextEntry::make('created_at')
|
|
->dateTime()
|
|
->placeholder('-'),
|
|
TextEntry::make('updated_at')
|
|
->dateTime()
|
|
->placeholder('-'),
|
|
]);
|
|
}
|
|
}
|