(Grav GitSync) Automatic Commit from disroot_user

This commit is contained in:
disroot_user 2017-11-02 09:47:43 -04:00 committed by GitSync
parent f09266070e
commit 8546dfb04a

View file

@ -1,61 +1,3 @@
---
title: 'Alias Request Form'
form:
name: contact-form
fields:
-
name: email
label: Email
placeholder: 'Enter your disroot email'
autofocus: 'on'
autocomplete: 'on'
type: text
validate:
pattern: '[^ @]*@disroot.org'
required: true
-
name: Alias1
label: Alias
placeholder: your.alias@disroot.org
type: email
validate:
pattern: '[^ @]*@disroot.org'
required: true
-
name: check1
label: 'Add another alias'
type: checkbox
-
name: conditional1
type: conditional
condition: form.value.check1
fields:
placeholder: your.alias@disroot.org
type: email
validate: { pattern: '[^ @]*@disroot.org', required: true }
buttons:
-
type: submit
value: Submit
-
type: reset
value: Reset
process:
-
email:
from: '{{ config.plugins.email.from }}'
to: ['{{ config.plugins.email.from }}', '{{ form.value.email }}']
subject: '[Feedback] {{ form.value.name|e }}'
body: '{% include ''forms/data.html.twig'' %}'
-
save:
fileprefix: feedback-
dateformat: Ymd-His-u
extension: txt
body: '{% include ''forms/data.txt.twig'' %}'
-
message: 'Thank you for your feedback!'
-
display: thankyou
---
---