fix: update labels for file upload fields in CooperationForm and JournalistForm
This commit is contained in:
parent
6e2af6c31c
commit
f923e9d424
@ -104,7 +104,7 @@ public static function configure(Schema $schema): Schema
|
||||
->helperText('Format yang diterima: JPEG, PNG, GIF, WEBP. Ukuran maksimum: 3 MB.'),
|
||||
|
||||
AdvancedFileUpload::make('proposal_template')
|
||||
->label('Template Pengajuan (PDF)')
|
||||
->label('Template Pengajuan')
|
||||
->disk(config('filesystems.default'))
|
||||
->acceptedFileTypes(['application/pdf'])
|
||||
->maxSize(1024 * 10)
|
||||
|
||||
@ -71,14 +71,14 @@ public static function configure(Schema $schema): Schema
|
||||
->map(function (array $doc): array {
|
||||
return [
|
||||
TextInput::make($doc['text_name'])
|
||||
->label('Nomor Identitas ('.$doc['title'].')')
|
||||
->label($doc['title'])
|
||||
->placeholder($doc['placeholder'])
|
||||
->autocomplete(false)
|
||||
->required()
|
||||
->maxLength($doc['max']),
|
||||
|
||||
AdvancedFileUpload::make($doc['file_name'])
|
||||
->label('File Pendukung ('.$doc['title'].') (PDF)')
|
||||
->label('File Pendukung ('.$doc['title'].')')
|
||||
->disk(config('filesystems.default'))
|
||||
->acceptedFileTypes($doc['accept'])
|
||||
->directory(fn (): string => 'journalists/'.$doc['folder'].now()->toDateString())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user