Add admin location editing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-22 23:05:17 -04:00
parent 44c20d54ff
commit 3afef25b4c
5 changed files with 47 additions and 0 deletions
+11
View File
@@ -75,6 +75,17 @@
</div>
{{if .IsAdmin}}
<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">
<div class="form-row">
<label>Location</label>
<input type="text" name="location" value="{{.Event.Location}}" placeholder="e.g. Central Park">
</div>
<button class="btn-submit" type="submit">Save location</button>
</form>
</div>
<div class="section-label" style="margin-top:40px">Admin: Description</div>
<div class="claim-form-wrapper">
<form method="POST" action="/e/{{.Event.Slug}}/admin/{{.Event.AdminToken}}/description">