{# intotheeast override of Grav's datetime field. Grav's stock forms/fields/datetime/datetime.html.twig is DEPRECATED and just extends the text field, so `type: datetime` renders a plain — the owner sees a raw box (the literal word "now" from `default: now`) with no way to pick a date/time. Here we render a native instead: a real calendar + clock picker, and an excellent one on mobile. The value is prefilled to the current local time by post-form.js (JS knows the traveller's timezone; the server doesn't), and the existing client-side validator now requires this field — so an empty or invalid date can no longer reach the server and destroy the FilePond photo list on a re-render. #} {% extends "forms/field.html.twig" %} {% block input_attributes %} type="datetime-local" {{ parent() }} {% endblock %}