<?php
$service = happyforms_get_integrations()->get_service( 'mailpoet' );
?>
<div id="happyforms-service-<?php echo $service->id; ?>" class="happyforms-service-integration">
	<div class="widget-content <?php if ( $service->is_connected() ) : ?>authenticated<?php endif; ?>">
		<?php if ( ! $service->is_connected() ) : ?>
			<p><?php _e( 'MailPoet plugin must first be installed and activated to use this integration.', 'happyforms' ); ?></p>
		<?php endif; ?>
	</div>
</div>
