forked from Disroot/Website
(Grav GitSync) Automatic Commit from disroot_user
This commit is contained in:
parent
f09266070e
commit
8546dfb04a
1 changed files with 1 additions and 59 deletions
|
@ -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
|
||||
---
|
||||
|
||||
---
|
||||
|
|
Loading…
Reference in a new issue