aboutsummaryrefslogtreecommitdiff
path: root/plugins/carddav/public/update-address-object.html
blob: 4769e97d04b650b685e7f07c1abbacac645a13ef (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{{template "head.html"}}

<h1>alps</h1>

<p>
  <a href="/contacts">Back</a>
</p>

<h2>
  {{if .Card}}Edit{{else}}Create{{end}} contact
</h2>

<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"}}