aboutsummaryrefslogtreecommitdiff
path: root/plugins/carddav/public/update-address-object.html
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/carddav/public/update-address-object.html')
-rw-r--r--plugins/carddav/public/update-address-object.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/carddav/public/update-address-object.html b/plugins/carddav/public/update-address-object.html
new file mode 100644
index 0000000..b0ab20f
--- /dev/null
+++ b/plugins/carddav/public/update-address-object.html
@@ -0,0 +1,23 @@
+{{template "head.html"}}
+
+<h1>koushin</h1>
+
+<p>
+ <a href="/contacts">Back</a>
+</p>
+
+<h2>Edit 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"}}