Skip to content

magento/magento2#23481: Billing/Shipping Address edit form design update from order backend #25699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ protected function _prepareForm()
{
parent::_prepareForm();
$this->_form->setId('edit_form');
$this->_form->setClass('admin__fieldset');
$this->_form->setMethod('post');
$this->_form->setAction(
$this->getUrl('sales/*/addressSave', ['address_id' => $this->_getAddress()->getId()])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,20 @@
* See COPYING.txt for license details.
*/
?>
<div class="message message-notice">
<div class="message-inner">
<div class="message-content"><?= $block->escapeHtml(__('Changing address information will not recalculate shipping, tax or other order amount.')) ?></div>
<div class="messages">
<div class="message message-notice">
<div class="message-inner">
<div class="message-content"><?= $block->escapeHtml(__('Changing address information will not recalculate shipping, tax or other order amount.')) ?></div>
</div>
</div>
</div>

<fieldset class="fieldset admin__fieldset-wrapper">
<div class="fieldset admin__fieldset-wrapper">
<legend class="legend admin__legend">
<span><?= $block->escapeHtml($block->getHeaderText()) ?></span>
</legend>
<br>
<div class="form-inline" data-mage-init='{"Magento_Sales/order/edit/address/form":{}}'>
<?= $block->getForm()->toHtml() ?>
</div>
</fieldset>
</div>