summaryrefslogtreecommitdiff
path: root/views/partials/eventForm.handlebars
diff options
context:
space:
mode:
authorRaphael Kabo <raphaelkabo@hey.com>2024-05-26 21:07:39 +0100
committerRaphael Kabo <raphaelkabo@hey.com>2024-05-26 21:07:39 +0100
commit82c6999ec2ebe572665cc7db4fdb8223cddfc24d (patch)
tree88936c7d5e438413c4f1cf8d3b62e19cd9576574 /views/partials/eventForm.handlebars
parent43296cd88b9ab6f3ba1d5f4de5f76f44b68de82a (diff)
Properly validate URLs when editing
Diffstat (limited to 'views/partials/eventForm.handlebars')
-rwxr-xr-xviews/partials/eventForm.handlebars5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/partials/eventForm.handlebars b/views/partials/eventForm.handlebars
index 161f44b..6fbbbf0 100755
--- a/views/partials/eventForm.handlebars
+++ b/views/partials/eventForm.handlebars
@@ -39,7 +39,8 @@
<div class="form-group">
<label for="eventURL">Link</label>
<div class="form-group ">
- <input type="url" class="form-control" id="eventURL" name="eventURL" placeholder="For tickets or another event page (optional)." x-model="data.eventURL" >
+ <input type="url" class="form-control" id="eventURL" name="eventURL" placeholder="https://example.com" x-model="data.eventURL">
+ <small class="form-text">For tickets or another event page (optional).</small>
</div>
</div>
<div class="form-group">
@@ -106,7 +107,7 @@
<option></option>
<template x-for="group in data.groups">
<option :value="group.id" x-text="group.name"></option>
- </template>
+ </template>
</select>
</div>
<button type="button" class="button button--outline-primary w-100 text-center" x-on:click="manualGroupInputVisible = !manualGroupInputVisible">