
<dialog class="card" id="copy-year">
    <h3 class="card-title">Kopiraj godinu {{.Year}}</h3>

    <p>Na koji godinu želite kopirati praznike iz godine {{.Year}}?</p>
    <form method="post" action="/admin/holidays/copy">
        <input type="hidden" name="from" value="{{.Year}}">
        <input type="hidden" name="country" value="{{.Country}}">
        <section class="form-field">
            <label for="to">Godina:</label>
            <input required id="to" name="to" type="number" step="1">
        </section>
        <section class="actions">
            <button class="primary" type="submit">Kopiraj</button>
            <button class="secondary" type="button" onclick="closeDialog('#copy-year')">Odustani</button>
        </section>
    </form>
</dialog>