summaryrefslogtreecommitdiffstats
path: root/templates/detailItems/text.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/detailItems/text.html')
-rw-r--r--templates/detailItems/text.html12
1 files changed, 0 insertions, 12 deletions
diff --git a/templates/detailItems/text.html b/templates/detailItems/text.html
deleted file mode 100644
index 1c7873a6..00000000
--- a/templates/detailItems/text.html
+++ /dev/null
@@ -1,12 +0,0 @@
-<select ng-if="ctrl.availableOptions.length > 0" ng-model="ctrl.type" ng-model-options="{ debounce: 500 }" ng-change="ctrl.changeType(ctrl.type)" ng-disabled="ctrl.contact.readOnly">
- <option ng-repeat="option in ctrl.availableOptions" value="{{option.id}}">{{option.name}}</option>
-</select>
-<label ng-if="ctrl.availableOptions.length === 0" for="details-{{ctrl.name}}-{{ctrl.index}}">{{ctrl.meta.readableName}}</label>
-<input type="text" id="details-{{ctrl.name}}-{{ctrl.index}}" name="{{ctrl.name}}"
- ng-model="ctrl.data.value" ng-model-options="{ debounce: 500 }"
- ng-change="ctrl.updateContact()" value=""
- placeholder="{{ctrl.meta.readableName}}"
- focus-expression="$parent.ctrl.focus === ctrl.name"
- ng-disabled="ctrl.contact.readOnly"
-/>
-<button ng-click="ctrl.deleteField()" class="icon-delete" title="{{ctrl.t.delete}}" ng-if="!ctrl.contact.readOnly"></button>