31 lines
557 B
HTML
31 lines
557 B
HTML
{{template "head.html" .}}
|
|
|
|
<h1>alps</h1>
|
|
|
|
<p>
|
|
<a href="/contacts">Back</a>
|
|
</p>
|
|
|
|
{{$fn := .AddressObject.Card.Value "FN"}}
|
|
|
|
<h2>Contact: {{$fn}}</h2>
|
|
|
|
<p>
|
|
<a href="{{.AddressObject.URL}}/edit">
|
|
Edit
|
|
</a>
|
|
<form action="{{.AddressObject.URL}}/delete" method="post">
|
|
<input type="submit" value="Delete">
|
|
</form>
|
|
</p>
|
|
|
|
<ul>
|
|
<li><strong>Name</strong>: {{$fn}}</li>
|
|
{{range .AddressObject.Card.Values "EMAIL"}}
|
|
<li><strong>E-mail</strong>:
|
|
<a href="/compose?to={{.}}">{{.}}</a>
|
|
</li>
|
|
{{end}}
|
|
</ul>
|
|
|
|
{{template "foot.html"}}
|