summaryrefslogtreecommitdiff
path: root/views/partials/eventGroupForm.handlebars
diff options
context:
space:
mode:
Diffstat (limited to 'views/partials/eventGroupForm.handlebars')
-rw-r--r--views/partials/eventGroupForm.handlebars5
1 files changed, 3 insertions, 2 deletions
diff --git a/views/partials/eventGroupForm.handlebars b/views/partials/eventGroupForm.handlebars
index e020f4a..258c321 100644
--- a/views/partials/eventGroupForm.handlebars
+++ b/views/partials/eventGroupForm.handlebars
@@ -1,3 +1,4 @@
+<input type="hidden" name="magicLinkToken" value="{{magicLinkToken}}" x-ref="magicLinkToken">
<div class="form-group">
<label for="eventGroupName">Name</label>
<input type="text" class="form-control" id="eventGroupName" name="eventGroupName" placeholder="Make it snappy." x-model="data.eventGroupName">
@@ -18,7 +19,7 @@
<div class="form-group">
<label for="creatorEmail">Your email</label>
<div class="form-group">
- <input type="email" class="form-control" id="eventGroupCreatorEmail" name="creatorEmail" placeholder="Will not be shown anywhere (optional)." x-model="data.creatorEmail">
+ <input type="email" class="form-control" id="eventGroupCreatorEmail" name="creatorEmail" placeholder="Will not be shown anywhere (optional)." x-model.fill="data.creatorEmail" {{#if creatorEmail}}value="{{creatorEmail}}" readonly{{/if}}>
<small class="form-text">If you provide your email, we will send your secret editing password here, and use it to notify you of updates to the event.</small>
</div>
</div>
@@ -40,7 +41,7 @@
<p><i class="fas fa-exclamation-triangle"></i> Please fix these errors:</p>
<ul>
<template x-for="error in errors">
- <li x-text="error.message"></li>
+ <li x-html="error.message"></li>
</template>
</ul>
</div>