Metadata-Version: 2.4
Name: ocyan.plugin.contact_form
Version: 0.2.1
Summary: Create contact forms on any page with reCAPTCHA from the google plugin, for spam protection.
Home-page: https://git.mandelblog.com/mandel-plugins/ocyan.plugin.contact_form
Author: Motolani Olaiya
Author-email: motolaniolaiya@gmail.com
License: Proprietary
Classifier: Framework :: Ocyan
Classifier: Environment :: Plugins
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: ocyan.core
Requires-Dist: ocyan.plugin.wagtail
Requires-Dist: ocyan.plugin.wagtail_content_page
Requires-Dist: ocyan.plugin.google
Requires-Dist: django-recaptcha
Requires-Dist: django-phonenumber-field
Provides-Extra: test
Requires-Dist: ocyan.plugin.testing; extra == "test"
Requires-Dist: wheel; extra == "test"
Requires-Dist: empty_testproject; extra == "test"
Requires-Dist: pylint-django; extra == "test"
Requires-Dist: black; extra == "test"
Requires-Dist: vdt.versionplugin.wheel; extra == "test"
Requires-Dist: coverage; extra == "test"
Requires-Dist: ocyan.plugin.coyote; extra == "test"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

Ocyan plugin contact_form
=========================

Installation
------------
Add `ocyan.plugin.contact_form` to your projects dependencies.

Description
-----------

The contact form plugin adds a streamfield block to wagtail that renders as
a contact form, with captcha. An email will be sent to the website order
containing the contact request.

The fields in the contact form are:

- name
- phone number (not required)
- email address
- message
- Verification with Captcha.


Configuration
-------------
* Email_from: 
	* The Email address that the website uses to send the contact form from.
* Email_to:
	* The Email address that the website uses to send the contact form to.

For example:

```json
    "contact_form": {
      "email_from": "xxxxxx@xxx.xxx",
      "email_to": "xxxxxx@xxx.xxx"
    },
```
