2020-05-13 17:42:41 +00:00
|
|
|
{{template "head.html" .}}
|
|
|
|
|
|
|
|
<h1>alps</h1>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<a href="/calendar">Back</a>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<h2>
|
|
|
|
{{if .CalendarObject}}Edit{{else}}Create{{end}} event
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<form method="post">
|
|
|
|
<label for="summary">Name:</label>
|
|
|
|
<input type="text" name="summary" id="summary" value="{{.Event.Props.Text "SUMMARY"}}">
|
|
|
|
<br>
|
|
|
|
|
2020-05-20 17:32:53 +00:00
|
|
|
<label for="start-date">Start date:</label>
|
|
|
|
<input type="date" name="start-date" id="start-date" value="{{.Event.DateTimeStart nil | formatinputdate}}"/>
|
|
|
|
<input type="time" name="start-time" id="start-time" value="{{.Event.DateTimeStart nil | formatinputtime}}"/>
|
2020-05-13 17:42:41 +00:00
|
|
|
<br>
|
|
|
|
|
2020-05-20 17:32:53 +00:00
|
|
|
<label for="end-date">End date:</label>
|
|
|
|
<input type="date" name="end-date" id="end-date" value="{{.Event.DateTimeEnd nil | formatinputdate}}"/>
|
|
|
|
<input type="time" name="end-time" id="end-time" value="{{.Event.DateTimeEnd nil | formatinputtime}}"/>
|
2020-05-13 17:42:41 +00:00
|
|
|
<br>
|
|
|
|
|
2020-05-20 15:08:24 +00:00
|
|
|
<label for="description">Description:</label><br>
|
|
|
|
<textarea name="description" id="description" cols="80" rows="15">{{.Event.Props.Text "DESCRIPTION"}}</textarea>
|
|
|
|
<br><br>
|
|
|
|
|
2020-05-13 17:42:41 +00:00
|
|
|
<input type="submit" value="Save">
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{{template "foot.html"}}
|