v0.5.0
added year duplication
This commit is contained in:
1 parent
8fbdffc965
commit
45b220c69f
6 files changed
+74
-5
No files matched your search
@@ -0,0 +1,18 @@
|
||||
|
||||
<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>
|
||||
Reference in new issue
Block a user