|
13 | 13 | <div class="umb-forms-mapping-remove -no-margin-right"></div>
|
14 | 14 | </div>
|
15 | 15 |
|
16 |
| - <div class="umb-forms-mapping" ng-repeat="mapping in mappings"> |
17 |
| - |
18 |
| - <div class="umb-forms-mapping-field"> |
19 |
| - <select class="-full-width" |
20 |
| - ng-options="field.id as field.value for field in fields" |
21 |
| - ng-model="mapping.formField" |
22 |
| - ng-change="stringifyValue()"> |
23 |
| - <option value="">Map form field</option> |
24 |
| - </select> |
| 16 | + <div ng-repeat="mapping in mappings"> |
| 17 | + |
| 18 | + <div class="umb-forms-mapping"> |
| 19 | + <div class="umb-forms-mapping-field"> |
| 20 | + <select class="-full-width" |
| 21 | + ng-options="field.id as field.value for field in fields" |
| 22 | + ng-model="mapping.formField" |
| 23 | + ng-change="stringifyValue()"> |
| 24 | + <option value="">Map form field</option> |
| 25 | + </select> |
| 26 | + </div> |
| 27 | + |
| 28 | + <div class="umb-forms-mapping-field"> |
| 29 | + <select class="-full-width" |
| 30 | + ng-options="field.value as field.name for field in hubspotFields track by field.value" |
| 31 | + ng-model="mapping.hubspotField" |
| 32 | + ng-change="stringifyValue()"> |
| 33 | + <option value="">Map hubspot field</option> |
| 34 | + </select> |
| 35 | + </div> |
| 36 | + |
| 37 | + <div class="umb-forms-mapping-remove -no-margin-right"> |
| 38 | + <a href="" ng-click="deleteMapping($index)"><i class="icon-trash"></i></a> |
| 39 | + </div> |
25 | 40 | </div>
|
26 | 41 |
|
27 |
| - <div class="umb-forms-mapping-field"> |
28 |
| - <select class="-full-width" |
29 |
| - ng-options="field.name as field.label for field in hubspotFields" |
30 |
| - ng-model="mapping.hubspotField" |
31 |
| - ng-change="stringifyValue()"> |
32 |
| - <option value="">Map hubspot field</option> |
33 |
| - </select> |
| 42 | + <div ng-if="mapping.hubspotField" style="margin-bottom:15px;"> |
| 43 | + <strong>Description:</strong><br/> |
| 44 | + {{ getHubspotFieldDescription(mapping.hubspotField) }} |
34 | 45 | </div>
|
35 |
| - |
36 |
| - <div class="umb-forms-mapping-remove -no-margin-right"> |
37 |
| - <a href="" ng-click="deleteMapping($index)"><i class="icon-trash"></i></a> |
38 |
| - </div> |
39 |
| - |
40 | 46 | </div>
|
41 | 47 | </div>
|
42 | 48 |
|
|
0 commit comments