diff --git a/website/Contactform.html b/website/Contactform.html index 2027d65..b0d7ff4 100644 --- a/website/Contactform.html +++ b/website/Contactform.html @@ -1,3 +1,8 @@ + + + + +
{% form 'contact' %} @@ -107,6 +112,19 @@ {% if block.settings.required %}required{% endif %}/> {% endif %} {% endif %} + + {% when 'calendar_input' %} + {% if block.settings.title != blank %} + {%- assign title_handle = block.settings.title | handle -%} + + + {% endif %} {% when 'custom_dropdown' %} {% if block.settings.title != blank %} @@ -177,6 +195,28 @@ } }); + {% schema %} { @@ -270,6 +310,31 @@ } ] }, + { + "type": "calendar_input", + "name": "Calendar", + "limit": 1, + "settings": [ + { + "type": "text", + "id": "title", + "label": "Label", + "default": "Calendar" + }, + { + "type": "checkbox", + "id": "required", + "label": "Required", + "default": true + }, + { + "type": "checkbox", + "id": "half_width", + "label": "Half width", + "default": false + } + ] + }, { "type": "custom_input", "name": "Custom input", @@ -305,7 +370,7 @@ { "label": "Text area", "value": "textarea" - } + }, ] }, { diff --git a/website/temp b/website/temp deleted file mode 100644 index 2325889..0000000 --- a/website/temp +++ /dev/null @@ -1,25 +0,0 @@ - - - - - -
- - -
- \ No newline at end of file