Let admins edit event date and time
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -93,6 +93,21 @@
|
||||
{{end}}
|
||||
|
||||
{{if .IsAdmin}}
|
||||
<div class="section-label" style="margin-top:40px">Admin: Date & 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 & 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">
|
||||
|
||||
Reference in New Issue
Block a user