Permalink
Browse files

Removes invisibel captcha field type

  • Loading branch information...
andrelopez committed Jan 14, 2016
1 parent 62d9d5d commit d448a6e6635b1cdc525a4d2372d12eb95734b725

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
@@ -4,7 +4,7 @@
/**
*
*/
class SproutInvisibleCaptchaInvisibleCaptchaField extends SproutInvisibleCaptchaBaseField
class SproutInvisibleCaptchaInvisibleCaptchaField extends SproutFormsBaseField
{
/**
@@ -15,7 +15,6 @@ public function getType()
return 'SproutInvisibleCaptcha_InvisibleCaptcha';
}
public function isPlainInput()
{
return true;
@@ -57,4 +56,12 @@ public function getInputHtml($field, $value, $settings, array $renderingOptions
return TemplateHelper::getRaw($rendered);
}
/**
* @return string
*/
public function getTemplatesPath()
{
return craft()->path->getPluginsPath().'sproutinvisiblecaptcha/templates/_integrations/sproutforms/fields/';
}
}
@@ -1 +1 @@
{{ craft.sproutInvisibleCaptcha.protect() }}
{#{ craft.sproutInvisibleCaptcha.protect() }#}

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

0 comments on commit d448a6e

Please sign in to comment.