23 lines
957 B
Plaintext
23 lines
957 B
Plaintext
<dialog class="card" data-closeable id="check-is-a-holiday">
|
|
<div style="display: flex;">
|
|
<h2 style="margin-right: 1em;">Is it a holiday?</h2>
|
|
<button onclick="closeDialog('#check-is-a-holiday')" class="clean icon"><img class="icon" src="/assets/icons/close-x.svg"></button>
|
|
</div>
|
|
<form method="get" action="/search">
|
|
<section>
|
|
<label for="country">Country:</label>
|
|
<select id="country" name="country">
|
|
{{range $entry := .Countries}}
|
|
<option value="{{$entry.IsoName}}">{{$entry.Name}}</option>
|
|
{{end}}
|
|
</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> |