summaryrefslogtreecommitdiffstats
path: root/templates/contactDetails.html
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-03-02 15:51:52 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-03-03 11:35:13 +0100
commitd9a2d29cdf7b3b45ca45682902e49ec70f9f2775 (patch)
treed58366e87c4a92967d3c0da065479c6c0795a4c9 /templates/contactDetails.html
parent66c31b9eaa079ef1c59a277aa34b1c94e915650a (diff)
Allow to delete a field
Diffstat (limited to 'templates/contactDetails.html')
-rw-r--r--templates/contactDetails.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/contactDetails.html b/templates/contactDetails.html
index cfcf6428..8e96a338 100644
--- a/templates/contactDetails.html
+++ b/templates/contactDetails.html
@@ -13,7 +13,7 @@
<button ng-click="ctrl.deleteContact()" class="icon-delete-white" title="Delete"></button>
</header>
<section>
- <detailsItem ng-repeat="prop in ctrl.singleProperties" name="prop.name" data="prop.data" model="ctrl"></detailsItem>
+ <detailsItem ng-repeat="prop in ctrl.singleProperties" name="prop.name" data="prop.data" model="ctrl" index="prop.index"></detailsItem>
<div ng-if="addressBooks.length > 1">
<select ng-model="addressBook" ng-change="ctrl.changeAddressBook(addressBook)" ng-options="book.id for book in addressBooks track by book.id">
</select>