11
11
<?php if (!$ block ->getIsReadonly ()): ?>
12
12
<div class="import-tax-rates">
13
13
<?php if ($ block ->getUseContainer ()): ?>
14
- <form id="import-form" action="<?php /* @escapeNotVerified */ echo $ block ->getUrl ('tax/rate/importPost ' ) ?> " method="post" enctype="multipart/form-data">
14
+ <form id="import-form" class="admin__fieldset" action="<?php /* @escapeNotVerified */ echo $ block ->getUrl ('tax/rate/importPost ' ) ?> " method="post" enctype="multipart/form-data">
15
15
<?php endif ; ?>
16
16
<?php echo $ block ->getBlockHtml ('formkey ' )?>
17
- <fieldset class="fieldset">
18
- <legend class="legend"><span><?php /* @escapeNotVerified */ echo __ ('Import Tax Rates ' ) ?> </span></legend>
19
- <input type="file" name="import_rates_file" class="input-file required-entry"/>
20
- <?php echo $ block ->getButtonHtml ('Import Tax Rates ' , '' , 'import-submit ' ) ?>
21
- </fieldset>
17
+ <div class="fieldset admin__field">
18
+ <label for="import_rates_file" class="admin__field-label"><span><?php /* @escapeNotVerified */ echo __ ('Import Tax Rates ' ) ?> </span></label>
19
+ <div class="admin__field-control">
20
+ <input type="file" id="import_rates_file" name="import_rates_file" class="input-file required-entry"/>
21
+ <?php echo $ block ->getButtonHtml ('Import Tax Rates ' , '' , 'import-submit ' ) ?>
22
+ </div>
23
+ </div>
22
24
<?php if ($ block ->getUseContainer ()): ?>
23
25
</form>
24
26
<?php endif ; ?>
@@ -44,13 +46,15 @@ require(['jquery', "mage/mage", "loadingPopup"], function(jQuery){
44
46
<?php endif ; ?>
45
47
<div class="export-tax-rates <?php if ($ block ->getIsReadonly ()): ?> box-left<?php else : ?> box-right<?php endif ; ?> ">
46
48
<?php if ($ block ->getUseContainer ()): ?>
47
- <form id="export_form" action="<?php /* @escapeNotVerified */ echo $ block ->getUrl ('tax/rate/exportPost ' ) ?> " method="post" enctype="multipart/form-data">
49
+ <form id="export_form" class="admin__fieldset" action="<?php /* @escapeNotVerified */ echo $ block ->getUrl ('tax/rate/exportPost ' ) ?> " method="post" enctype="multipart/form-data">
48
50
<?php endif ; ?>
49
51
<?php echo $ block ->getBlockHtml ('formkey ' )?>
50
- <fieldset class="fieldset">
51
- <legend class="legend"><span><?php /* @escapeNotVerified */ echo __ ('Export Tax Rates ' ) ?> </span></legend>
52
- <?php echo $ block ->getButtonHtml ('Export Tax Rates ' , "this.form.submit() " ) ?>
53
- </fieldset>
52
+ <div class="fieldset admin__field">
53
+ <span class="admin__field-label"><span><?php /* @escapeNotVerified */ echo __ ('Export Tax Rates ' ) ?> </span></span>
54
+ <div class="admin__field-control">
55
+ <?php echo $ block ->getButtonHtml ('Export Tax Rates ' , "this.form.submit() " ) ?>
56
+ </div>
57
+ </div>
54
58
<?php if ($ block ->getUseContainer ()): ?>
55
59
</form>
56
60
<?php endif ; ?>
0 commit comments