code/Forms/FileFormFactory.php
protected function getFormFieldAttributesTab($record, $context = [])
    {
        return Tab::create(
            'Placement',
            LiteralField::create(
                'AttributesDescription',
                '<p>' . _t(
                    'SilverStripe\\AssetAdmin\\Controller\\AssetAdmin.AttributesDescription',
                    'These changes will only affect this particular placement of the file.'
                ) . '</p>'
            ),
            TextField::create('Caption', _t('SilverStripe\\AssetAdmin\\Controller\\AssetAdmin.Caption', 'Caption'))
        );
    }
protected function getFormFieldAttributesTab($record, $context = [])
    {
        return Tab::create(
            'Placement',
            LiteralField::create(
                'AttributesDescription',
                '<p>' . _t(
                    'SilverStripe\\AssetAdmin\\Controller\\AssetAdmin.AttributesDescription',
                    'These changes will only affect this particular placement of the file.'
                ) . '</p>'
            ),
            TextField::create('Caption', _t('SilverStripe\\AssetAdmin\\Controller\\AssetAdmin.Caption', 'Caption'))
        );
    }
protected function getFormFieldAttributesTab ( $ record , $ context = [ ] ) { return Tab :: create ( 'Placement' , LiteralField :: create ( 'AttributesDescription' , '<p>' . _t ( 'SilverStripe\\AssetAdmin\\Controller\\AssetAdmin.AttributesDescription' , 'These changes will only affect this particular placement of the file.' ) . '</p>' ) , TextField :: create ( 'Caption' , _t ( 'SilverStripe\\AssetAdmin\\Controller\\AssetAdmin.Caption' , 'Caption' ) ) ) ; }
Create tab for file attributes

@param File $record
@param array $context
@return Tab
Create tab for file attributes