17 lines
831 B
Plaintext
17 lines
831 B
Plaintext
<dialog class="card" id="create-card">
|
|
<h3 class="card-title">Dodaj državu</h3>
|
|
<form method="post" action="/admin/countries">
|
|
<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">Dodaj</button>
|
|
<button class="secondary" type="button" onclick="closeDialog('#create-card')">Odustani</button>
|
|
</section>
|
|
</form>
|
|
</dialog> |