public function template()
{
// Gravity Forms not installed
if (!$this->is_plugin_active()) {
?>
<em><?php
_e('Please install Gravity Forms plugin', 'carbon-fields');
?>
</em><?php
return;
}
// No forms have been found
if (empty($this->options)) {
?>
<em><?php
_e('No Gravity Forms have been found.', 'carbon-fields');
?>
</em><?php
return;
}
parent::template();
}