HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/refonte2023/wordpress/wp-content/plugins/give/blocks/components/no-form/index.js
/**
 * WordPress dependencies
 */
import { __ } from '@wordpress/i18n'
import { Button } from '@wordpress/components';

/**
 * Internal dependencies
 */
import { getSiteUrl } from '../../utils';
import GiveBlankSlate from '../blank-slate';

/**
 * Render No forms Found UI
*/

const NoForms = () => {
	return (
		<GiveBlankSlate title={ __( 'No donation forms found.', 'give' ) }
			description={ __( 'The first step towards accepting online donations is to create a form.', 'give' ) }
			helpLink>
			<Button
				isPrimary
				isLarge
				className="give-blank-slate__cta"
				href={ `${ getSiteUrl() }/wp-admin/post-new.php?post_type=give_forms` }>
				{ __( 'Create Donation Form', 'give' ) }
			</Button>
		</GiveBlankSlate>
	);
};

export default NoForms;