Let admins edit event date and time

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-13 17:21:01 -04:00
parent 1f0effb902
commit 891b49b4c0
6 changed files with 78 additions and 0 deletions
+15
View File
@@ -93,6 +93,21 @@
{{end}}
{{if .IsAdmin}}
<div class="section-label" style="margin-top:40px">Admin: Date &amp; time</div>
<div class="claim-form-wrapper">
<form method="POST" action="/e/{{.Event.Slug}}/admin/{{.Event.AdminToken}}/datetime">
<div class="form-row">
<label>Date</label>
<input type="text" name="date" value="{{.Event.Date}}" placeholder="e.g. Saturday, June 14">
</div>
<div class="form-row">
<label>Time</label>
<input type="text" name="time" value="{{.Event.Time}}" placeholder="e.g. 2:00 PM">
</div>
<button class="btn-submit" type="submit">Save date &amp; time</button>
</form>
</div>
<div class="section-label" style="margin-top:40px">Admin: Location</div>
<div class="claim-form-wrapper">
<form method="POST" action="/e/{{.Event.Slug}}/admin/{{.Event.AdminToken}}/location">