18 lines
903 B
Plaintext
18 lines
903 B
Plaintext
<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> |