rastrillo / fiesta Public

Clone
git clone https://amadan.net/rastrillo/fiesta

Plain git — no account needed to clone.

Download

Download this file

1<!doctype html>
2<html lang="en" dir="ltr">
3<head>
4<meta charset="utf-8">
5<meta name="viewport" content="width=device-width">
6<title>field-datetime: Required, with an error</title>
7<link rel="stylesheet" href="../../css/tokens.css">
8<link rel="stylesheet" href="../../css/themes/day.css">
9<script defer src="../../js/light.js"></script>
10<script defer src="../../js/calendar.js"></script>
11<script defer src="../../js/datetime.js"></script>
12</head>
13<body>
14<section rst-box><form rst-form method="post" action="#"><div rst-field>
15 <label rst-field-label for="field-datetime_error">Publish on <span rst-field-required aria-hidden="true">*</span></label>
16 <input rst-input id="field-datetime_error" name="field-datetime_error" type="datetime-local" required aria-invalid="true" aria-describedby="field-datetime_error-error" data-rst-date data-rst-date-words="{&#34;ago&#34;:&#34;ago&#34;,&#34;am&#34;:&#34;am|a.m.&#34;,&#34;at&#34;:&#34;at&#34;,&#34;day&#34;:&#34;day|days&#34;,&#34;hour&#34;:&#34;hour|hours|h&#34;,&#34;in&#34;:&#34;in&#34;,&#34;last&#34;:&#34;last&#34;,&#34;midnight&#34;:&#34;midnight&#34;,&#34;minute&#34;:&#34;minute|minutes|min|mins|m&#34;,&#34;month&#34;:&#34;month|months&#34;,&#34;next&#34;:&#34;next&#34;,&#34;noon&#34;:&#34;noon|midday&#34;,&#34;pm&#34;:&#34;pm|p.m.&#34;,&#34;today&#34;:&#34;today&#34;,&#34;tomorrow&#34;:&#34;tomorrow&#34;,&#34;week&#34;:&#34;week|weeks&#34;,&#34;yesterday&#34;:&#34;yesterday&#34;}" data-rst-date-set="Set" data-rst-date-hint="Try: {example}" data-rst-date-pick="Open the calendar" data-rst-date-calendar="Calendar" data-rst-date-prev-month="Previous month" data-rst-date-next-month="Next month" data-rst-date-results="{n} suggestions" data-rst-date-result-one="1 suggestion" data-rst-date-quick-today="Today" data-rst-date-quick-tomorrow="Tomorrow" data-rst-date-quick-next-week="In a week" data-rst-date-quick-plus-1h="An hour later" data-rst-date-quick-plus-2h="Two hours later" data-rst-date-quick-end-of-day="End of that day" data-rst-date-quick-next-day="Same time next day">
17 <small rst-field-error id="field-datetime_error-error">Pick a date after today.</small>
18</div></form></section>
19</body>
20</html>
21