2023-08-05 15:50:40 +00:00
|
|
|
<dialog class="card" data-closeable id="check-is-a-holiday">
|
|
|
|
<div style="display: flex;">
|
|
|
|
<h2 style="margin-right: 1em;">Is it a holiday?</h2>
|
2023-12-31 12:35:29 +00:00
|
|
|
<button onclick="closeDialog('#check-is-a-holiday')" class="clean icon"><img class="icon" src="/assets/icons/close-x.svg"></button>
|
2023-08-05 15:50:40 +00:00
|
|
|
</div>
|
|
|
|
<form method="get" action="/search">
|
|
|
|
<section>
|
|
|
|
<label for="country">Country:</label>
|
|
|
|
<select id="country" name="country">
|
2023-08-05 19:34:09 +00:00
|
|
|
{{range $entry := .Countries}}
|
|
|
|
<option value="{{$entry.IsoName}}">{{$entry.Name}}</option>
|
|
|
|
{{end}}
|
2023-08-05 15:50:40 +00:00
|
|
|
</select>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<label for="date">Date:</label>
|
|
|
|
<input id="date" name="date" type="date" required>
|
|
|
|
</section>
|
|
|
|
<section class="actions">
|
|
|
|
<button style="width: 100%;" type="submit">Check is a holiday</button>
|
|
|
|
</section>
|
|
|
|
</form>
|
|
|
|
</dialog>
|