2020-02-12 20:13:51 +00:00
|
|
|
{{template "head.html"}}
|
|
|
|
|
2020-05-13 12:07:44 +00:00
|
|
|
<h1>alps</h1>
|
2020-02-12 20:13:51 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<a href="/contacts">Back</a>
|
|
|
|
</p>
|
|
|
|
|
2020-02-27 11:17:23 +00:00
|
|
|
<h2>
|
|
|
|
{{if .Card}}Edit{{else}}Create{{end}} contact
|
|
|
|
</h2>
|
2020-02-12 20:13:51 +00:00
|
|
|
|
|
|
|
<form method="post">
|
|
|
|
<label for="fn">Name:</label>
|
|
|
|
<input type="text" name="fn" id="fn" value="{{.Card.PreferredValue "FN"}}">
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<label for="emails">E-mails:</label>
|
|
|
|
<input type="email" name="emails" id="emails" multiple value="{{join (.Card.Values "EMAIL") ", "}}">
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<input type="submit" value="Save">
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{{template "foot.html"}}
|