aboutsummaryrefslogtreecommitdiff
path: root/templates/entry.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/entry.tmpl')
-rw-r--r--templates/entry.tmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/entry.tmpl b/templates/entry.tmpl
index 9f1181f..9edd5cd 100644
--- a/templates/entry.tmpl
+++ b/templates/entry.tmpl
@@ -1,6 +1,5 @@
{{ define "entry" }}
{{ template "_head" }}
-<div class="container">
{{ if (eq .ID 0) }}
<form action="/entries" method="POST">
{{ else }}
@@ -16,11 +15,14 @@
<input class="input" type="text" id="Link" name="Link" value="{{ .Link }}" placeholder="Paste a valid youtube-dl link" required>
</div>
<div class="field">
+ <label for="DateAfter">Date after</label>
+ <input class="input" type="text" id="DateAfter" name="DateAfter" value="{{ .DateAfter }}" placeholder="Select the start date" required>
+ </div>
+ <div class="field">
<label for="output">Output folder</label>
<input class="input" type="text" id="OutputFolder" name="OutputFolder" value="{{ .OutputFolder }}" placeholder="Select a ralative folder" required>
</div>
<button type="submit">Submit</button>
</form>
- </div>
{{ template "_footer" }}
{{ end }}