summaryrefslogtreecommitdiff
path: root/linkshorter/view/templ-index.php
diff options
context:
space:
mode:
Diffstat (limited to 'linkshorter/view/templ-index.php')
-rw-r--r--linkshorter/view/templ-index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/linkshorter/view/templ-index.php b/linkshorter/view/templ-index.php
index b78b5c7..17b042e 100644
--- a/linkshorter/view/templ-index.php
+++ b/linkshorter/view/templ-index.php
@@ -35,7 +35,7 @@
<div class="form-group">
<label class="col-md-4 control-label grey" for="ttl">(optional)</label>
<div class="col-md-4">
- <input id="ttl" name="ttl" class="form-control input-md" type="number">
+ <input id="ttl" name="ttl" class="form-control input-md" type="number" min="0">
<span class="help-block text-left">Choose how long the shortlink should be valid. (In seconds)</span>
</div>
</div>