Improve plugin readme. Uncomment config options for captcha and email
This commit is contained in:
parent
7d7dbd1644
commit
85bb5c2ef4
2 changed files with 20 additions and 18 deletions
|
@ -51,26 +51,26 @@ form:
|
|||
type: hidden
|
||||
evaluateDefault: grav.uri.path
|
||||
|
||||
# - name: g-recaptcha-response
|
||||
# label: Captcha
|
||||
# type: captcha
|
||||
# recatpcha_site_key: e32iojeoi32jeoi32jeoij32oiej32oiej3
|
||||
# recaptcha_not_validated: 'Captcha not valid!'
|
||||
# validate:
|
||||
# required: true
|
||||
# process:
|
||||
# ignore: true
|
||||
- name: g-recaptcha-response
|
||||
label: Captcha
|
||||
type: captcha
|
||||
recatpcha_site_key: e32iojeoi32jeoi32jeoij32oiej32oiej3
|
||||
recaptcha_not_validated: 'Captcha not valid!'
|
||||
validate:
|
||||
required: true
|
||||
process:
|
||||
ignore: true
|
||||
|
||||
buttons:
|
||||
- type: submit
|
||||
value: Submit
|
||||
|
||||
process:
|
||||
# - email:
|
||||
# subject: "[Site Guestbook] {{ form.value.name|e }}"
|
||||
# body: "{% include 'forms/data.html.twig' %}"
|
||||
# - captcha:
|
||||
# recatpcha_secret: ej32oiej23oiej32oijeoi32jeio32je
|
||||
- email:
|
||||
subject: "[New Comment] from {{ form.value.name|e }}"
|
||||
body: "{% include 'forms/data.html.twig' %}"
|
||||
- captcha:
|
||||
recatpcha_secret: ej32oiej23oiej32oijeoi32jeio32je
|
||||
- addComment:
|
||||
- message: Thank you for writing your comment!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue