summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorAlexander Weidinger <alexwegoo@gmail.com>2016-08-29 20:58:58 +0200
committerAlexander Weidinger <alexwegoo@gmail.com>2016-09-01 13:56:14 +0200
commit307d581cd192a3bd37ddfb5948c2dc7adfa6ba4c (patch)
tree592c3d875d33ceb9840754dbbe0642371ef59ccb /templates
parent822f495a3e530c943494212694620db820735eff (diff)
Rework of contact details CSS.
Diffstat (limited to 'templates')
-rw-r--r--templates/detailItems/adr.html2
-rw-r--r--templates/detailItems/n.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/detailItems/adr.html b/templates/detailItems/adr.html
index bce6ffbb..6590ab6f 100644
--- a/templates/detailItems/adr.html
+++ b/templates/detailItems/adr.html
@@ -1,6 +1,7 @@
<select ng-model="ctrl.type" ng-model-options="{ debounce: 500 }" ng-change="ctrl.changeType(ctrl.type)">
<option ng-repeat="option in ctrl.availableOptions" value="{{option.id}}">{{option.name}}</option>
</select>
+<button ng-click="ctrl.deleteField()" class="icon-delete" title="Delete"></button>
<div>
<label for="details-pobox">{{ctrl.t.poBox}}</label>
<input type="text" id="details-pobox" name="address" ng-model="ctrl.data.value[0]" ng-model-options="{ debounce: 500 }" ng-change="ctrl.model.updateContact()" value="" />
@@ -26,4 +27,3 @@
<label for="details-country">{{ctrl.t.country}}</label>
<input type="text" id="details-country" name="state" ng-model="ctrl.data.value[6]" ng-model-options="{ debounce: 500 }" ng-change="ctrl.model.updateContact()" value="" />
</div>
-<button ng-click="ctrl.deleteField()" class="icon-delete" title="Delete"></button>
diff --git a/templates/detailItems/n.html b/templates/detailItems/n.html
index 675fa405..e21b73b5 100644
--- a/templates/detailItems/n.html
+++ b/templates/detailItems/n.html
@@ -1,4 +1,5 @@
<label ng-if="ctrl.availableOptions.length === 0" for="details-{{ctrl.name}}">{{ctrl.meta.readableName}}</label>
+<button ng-click="ctrl.deleteField()" class="icon-delete" title="Delete"></button>
<div>
<label for="details-honorificPrefix">{{ctrl.t.honorificPrefix}}</label>
<input type="text" id="details-honorificPrefix" name="honorificPrefix" ng-model="ctrl.data.value[3]" ng-model-options="{ debounce: 500 }" ng-change="ctrl.updateDetailedName()" value="" />
@@ -19,4 +20,3 @@
<label for="details-honorificSuffix">{{ctrl.t.honorificSuffix}}</label>
<input type="text" id="details-honorificSuffix" name="honorificSuffix" ng-model="ctrl.data.value[4]" ng-model-options="{ debounce: 500 }" ng-change="ctrl.updateDetailedName()" value="" />
</div>
-<button ng-click="ctrl.deleteField()" class="icon-delete" title="Delete"></button>