@@ -29,16 +29,19 @@ $prefix = $block->showPrefix();
29
29
$ middle = $ block ->showMiddlename ();
30
30
$ suffix = $ block ->showSuffix ();
31
31
?>
32
+
32
33
<?php if ($ prefix || $ middle || $ suffix && !$ block ->getNoWrap ()): ?>
33
34
<div class="field required fullname <?php echo $ block ->getContainerClassName () ?> ">
34
35
<label for="<?php echo $ block ->getFieldId ('firstname ' ) ?> " class="label">
35
36
<span><?php echo __ ('Name ' ) ?> </span>
36
37
</label>
37
38
<div class="control">
38
- <div class="fields group <?php echo 2 + intval ($ prefix ) + intval ($ middle ) + intval ($ suffix ) ?> ">
39
- <?php endif ; ?>
40
- <?php if ($ prefix ): ?> $
41
- <div class="field name prefix<?php if ($ block ->isPrefixRequired ()) echo ' required ' ?> ">
39
+ <fieldset class="fieldset fieldset-fullname">
40
+ <div class="fields">
41
+ <?php endif ; ?>
42
+
43
+ <?php if ($ prefix ): ?>
44
+ <div class="field field-name-prefix<?php if ($ block ->isPrefixRequired ()) echo ' required ' ?> ">
42
45
<label class="label" for="<?php echo $ block ->getFieldId ('prefix ' ) ?> ">
43
46
<span><?php echo $ block ->getStoreLabel ('prefix ' ) ?> </span>
44
47
</label>
@@ -65,7 +68,7 @@ $suffix = $block->showSuffix();
65
68
</div>
66
69
</div>
67
70
<?php endif ; ?>
68
- <div class="field name firstname required">
71
+ <div class="field field- name- firstname required">
69
72
<label class="label" for="<?php echo $ block ->getFieldId ('firstname ' ) ?> ">
70
73
<span><?php echo $ block ->getStoreLabel ('firstname ' ) ?> </span>
71
74
</label>
@@ -80,7 +83,7 @@ $suffix = $block->showSuffix();
80
83
</div>
81
84
<?php if ($ middle ): ?>
82
85
<?php $ isMiddlenameRequired = $ block ->isMiddlenameRequired (); ?>
83
- <div class="field name middlename<?php echo $ isMiddlenameRequired ? ' required ' : '' ?> ">
86
+ <div class="field field- name- middlename<?php echo $ isMiddlenameRequired ? ' required ' : '' ?> ">
84
87
<label class="label" for="<?php echo $ block ->getFieldId ('middlename ' ) ?> ">
85
88
<span><?php echo $ block ->getStoreLabel ('middlename ' ) ?> </span>
86
89
</label>
@@ -94,7 +97,7 @@ $suffix = $block->showSuffix();
94
97
</div>
95
98
</div>
96
99
<?php endif ; ?>
97
- <div class="field name lastname required">
100
+ <div class="field field- name- lastname required">
98
101
<label class="label" for="<?php echo $ block ->getFieldId ('lastname ' ) ?> ">
99
102
<span><?php echo $ block ->getStoreLabel ('lastname ' ) ?> </span>
100
103
</label>
@@ -108,7 +111,7 @@ $suffix = $block->showSuffix();
108
111
</div>
109
112
</div>
110
113
<?php if ($ suffix ): ?>
111
- <div class="field name suffix<?php if ($ block ->isSuffixRequired ()) echo ' required ' ?> ">
114
+ <div class="field field- name- suffix<?php if ($ block ->isSuffixRequired ()) echo ' required ' ?> ">
112
115
<label class="label" for="<?php echo $ block ->getFieldId ('suffix ' ) ?> ">
113
116
<span><?php echo $ block ->getStoreLabel ('suffix ' ) ?> </span>
114
117
</label>
@@ -135,8 +138,10 @@ $suffix = $block->showSuffix();
135
138
</div>
136
139
</div>
137
140
<?php endif ; ?>
141
+
138
142
<?php if ($ prefix || $ middle || $ suffix && !$ block ->getNoWrap ()): ?>
139
- </div>
143
+ </div>
144
+ </fieldset>
140
145
</div>
141
146
</div>
142
147
<?php endif ; ?>
0 commit comments