File tree 1 file changed +5
-6
lines changed
app/code/Magento/GiftMessage/view/frontend/web/template
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 12
12
< div class ="gift-options-content ">
13
13
< fieldset class ="fieldset ">
14
14
< div class ="field field-to ">
15
- < label for =" gift-message-whole-to " class ="label ">
15
+ < label data-bind =" attr: {for: ' gift-message-whole-to-' + index } " class ="label ">
16
16
< span data-bind ="i18n: 'To:' "> </ span >
17
17
</ label >
18
18
< div class ="control ">
19
19
< input type ="text "
20
- id ="gift-message-whole-to "
21
20
class ="input-text "
22
- data-bind ="value: getObservable('recipient') ">
21
+ data-bind ="value: getObservable('recipient'), attr: { id: 'gift-message-whole-to-' + index } ">
23
22
</ div >
24
23
</ div >
25
24
26
25
< div class ="field field-from ">
27
- < label for =" gift-message-whole-from " class ="label ">
26
+ < label data-bind =" attr: {for: ' gift-message-whole-from-' + index } " class ="label ">
28
27
< span data-bind ="i18n: 'From:' "> </ span >
29
28
</ label >
30
29
< div class ="control ">
31
30
< input type ="text "
32
- id ="gift-message-whole-from "
33
31
class ="input-text "
34
- data-bind ="value: getObservable('sender') ">
32
+ data-bind ="value: getObservable('sender'), attr: { id: 'gift-message-whole-from-' + index } ">
35
33
</ div >
36
34
</ div >
37
35
< div class ="field text ">
50
48
</ div >
51
49
</ div >
52
50
<!-- /ko -->
51
+ < script type ="text/javascript "> alert ( 'toto' ) ; </ script >
53
52
< div class ="actions-toolbar ">
54
53
< div class ="secondary ">
55
54
< button type ="submit " class ="action secondary action-update " data-bind ="
You can’t perform that action at this time.
0 commit comments