start on forms
This commit is contained in:
@ -39,3 +39,13 @@
|
||||
fields:
|
||||
- header
|
||||
- text
|
||||
- template: form_field
|
||||
header: A single field in a form
|
||||
text: The header is the Name of the field, the description
|
||||
serves as a placeholder.
|
||||
fields:
|
||||
- header
|
||||
- text
|
||||
options:
|
||||
- compulsory
|
||||
- form_type
|
||||
|
@ -67,3 +67,14 @@
|
||||
Link must be a page name, ie only internal links allowed.
|
||||
values:
|
||||
default:
|
||||
- name: compulsory
|
||||
desciption:
|
||||
Form fields may be compulsory or not. By default they are.
|
||||
values: on off
|
||||
default: off
|
||||
- name: form_type
|
||||
desciption:
|
||||
Form fields may have a type for special handling. The default is text
|
||||
but message would be a longer text, and email checked to be a name.
|
||||
values: text message email phone date
|
||||
default: text
|
||||
|
@ -73,3 +73,14 @@
|
||||
header: Spacer
|
||||
text: Just for extra padding
|
||||
fields:
|
||||
- template: form_section
|
||||
header: Contact or other form
|
||||
text: Flexible form, with input fields as "cards". Only choose form_field
|
||||
as contained in the form.
|
||||
cards: true
|
||||
fields:
|
||||
- header
|
||||
- text
|
||||
options:
|
||||
- background
|
||||
- color
|
||||
|
Reference in New Issue
Block a user