<dialog class="card" id="update-card">
    <h3 class="card-title">Ažuriraj državu</h3>
    <form method="post" action="/admin/countries">
        <input type="hidden" name="id" value="{{.Country.Id}}">
        <section class="form-field">
            <label for="name">Iso ime:</label>
            <input required minlength="2" maxlength="2" id="iso_name" value="{{.Country.IsoName}}" name="iso_name" type="text">
        </section>
        <section class="form-field">
            <label for="name">Ime:</label>
            <input required minlength="1" maxlength="45" id="name" value="{{.Country.Name}}" name="name" type="text">
        </section>
        <section class="actions">
            <button class="primary" type="submit">Ažuriraj</button>
            <button class="secondary" type="button" onclick="closeDialog('#update-card')">Odustani</button>
        </section>
    </form>
</dialog>