summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2016-05-30 07:55:29 +0200
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2016-05-30 07:55:29 +0200
commit8f3e30044c182e8369b84569025fbfa7275b6156 (patch)
tree75ccc1eaffe47b4ad6dc87308475e48544a1c3f5 /templates
parentd4e2fd3a2c3e0508c2dce13b6dc1a91d4db1b97a (diff)
Fix #415, wrong name field for inputs
Diffstat (limited to 'templates')
-rw-r--r--templates/contactDetails.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/contactDetails.html b/templates/contactDetails.html
index 01de16f8..eaec8ff9 100644
--- a/templates/contactDetails.html
+++ b/templates/contactDetails.html
@@ -13,14 +13,14 @@
<div id="details-contact-infos">
<h2>
<input type="text" id="details-fullName" class="contactdetails__name" placeholder="{{ctrl.t.placeholderName}}" autocomplete="off"
- name="email" ng-model="ctrl.contact.fullName" ng-model-options="{ getterSetter: true, debounce: 500 }" ng-change="ctrl.updateContact()" value="" />
+ name="fullname" ng-model="ctrl.contact.fullName" ng-model-options="{ getterSetter: true, debounce: 500 }" ng-change="ctrl.updateContact()" value="" />
</h2>
<div id="details-org-container">
<input type="text" id="details-org" class="contactdetails__org" placeholder="{{ctrl.t.placeholderOrg}}" autocomplete="off"
- name="email" ng-model="ctrl.contact.org" ng-model-options="{ getterSetter: true, debounce: 500 }" ng-change="ctrl.updateContact()" value=""
+ name="org" ng-model="ctrl.contact.org" ng-model-options="{ getterSetter: true, debounce: 500 }" ng-change="ctrl.updateContact()" value=""
inputresize size="{{ctrl.contact.org().length > 1 ? ctrl.contact.org().length : '1'}}" />
<input type="text" id="details-title" class="contactdetails__title" placeholder="{{ctrl.t.placeholderTitle}}" autocomplete="off"
- name="email" ng-model="ctrl.contact.title" ng-model-options="{ getterSetter: true, debounce: 500 }" ng-change="ctrl.updateContact()" value=""
+ name="title" ng-model="ctrl.contact.title" ng-model-options="{ getterSetter: true, debounce: 500 }" ng-change="ctrl.updateContact()" value=""
inputresize size="{{ctrl.contact.title().length > 1 ? ctrl.contact.title().length : '1'}}" />
</div>
</div>