holiday-api/templates/dialogs/delete-holiday.gohtml

11 lines
486 B
Plaintext
Raw Permalink Normal View History

<dialog class="card" id="delete-card">
2024-01-01 11:29:59 +00:00
<h3 class="card-title">Ukloni praznik</h3>
<p>Jeste li sigurni da želite ukloniti praznik "{{.Holiday.Name}}"?</p>
<form method="post" action="/admin/holidays/{{.Holiday.Id}}/delete">
<section class="actions">
2024-01-01 11:29:59 +00:00
<button class="primary" type="submit">Obriši</button>
<button class="secondary" type="button" onclick="closeDialog('#delete-card')">Odustani</button>
</section>
</form>
</dialog>