blob: 3192344f58d29e57bf829576e1e69f9a8e84b20c (
plain) (
tree)
|
|
{{template "head.html" .}}
<h1>alps</h1>
<p>
<a href="/calendar">Back</a>
</p>
{{$event := index .Event.Data.Events 0}}
<h2>Event: {{$event.Props.Text "SUMMARY"}}</h2>
<p>
<a href="{{.Event.URL}}/update">Edit</a>
<form action="{{.Event.URL}}/delete" method="post">
<input type="submit" value="Delete">
</form>
</p>
<ul>
<li><strong>Start date</strong>: {{$event.DateTimeStart nil | formatdate}}</li>
<li><strong>End date</strong>: {{$event.DateTimeEnd nil | formatdate}}</li>
</ul>
<pre>{{$event.Props.Text "DESCRIPTION"}}</pre>
{{template "foot.html"}}
|